I'm making a maze, and at certain parts the players need to be teleported. This is my command so far:
/tp @a [x=-1034, y=34, z=-302 r=2] ~ ~ ~30
So this says, if a player is within 2 blocks of these coordinates then teleport the player 30 blocks south (positive z).
I can't have the command blocks at
z=-302, which is why that part of the command is necessary.
Can someone tell me if this command exists please!