execute as @e[tag=Red] at @s positioned ~1 ~ ~ if entity @e[tag=Red,distance=..0.1] positioned ~ ~ ~1 if entity @e[tag=Red,distance=..0.1] positioned ~-1 ~ ~ if entity @e[tag=Red,distance=..0.1] run scoreboard players set RSQ Game 1