Pretty much it's a climbing game. The first person to reach a certain height within the game boundaries wins. It's multiplayer so there could be people outside of the game at the specific y-axis as well. I need a command that will detect a player within the radius:
/execute if entity @a[x=244,z=345,distance=..2] run...
AND check if that specific player is ALSO at an exact y-axis:
/execute if entity @a[y=70] run...
If you picture it visually, I want the detection area to be a top-down circle instead of a sphere. Once a player reaches that detection area, it will run a command. Hope you guys can help! Thanks :)
execute as @a[x=244,y=345,distance=..2] at @s if entity @s[y=70] run .... If that doesn't work I'd put every player's y coord in a scoreboard every tick and do everything the same as above but instead ofif entity @suseif score @s.... – Nik3141 May 08 '19 at 23:53