Hello. I want to make a teleport system with a block. The player steps on a block number 1 (block.pos.1), after which it teleports to the block number 2 (black.ops.Two)
i have code, but its not working
i have code, but its not working
Code:
command /setpos1:
trigger:
set {block.pos.1} to location of player
command /setpos2:
trigger:
set {block.pos.2} to location of player
on any move:
if location of player is {block.pos.1}:
teleport player to {block.pos.2}
message "goto!" to player
Last edited: