I'm on version 2.4
I've been trying to set a variable to a player's current position to teleport them back later, but there doesn't seem to be anything like that.
Any help would be appreciated
I've been trying to set a variable to a player's current position to teleport them back later, but there doesn't seem to be anything like that.
Any help would be appreciated
Code:
on right click with ender pearl:
set {a} to player's held item
if {a}'s name is "&a&lZ &r&aTime Pearl":
set {currentpos} to player's current position
if player moves from {currentpos}:
wait 5 seconds
teleport player to {currentpos}