Here is the code it’s complex ```command /giveWand [<player>]:
trigger:
if arg-1 is not set:
give player a stick named "&6Wand of Teleportation"
send "&aYou received the &6Wand of Teleportation&a!"
else:
give arg-1 a stick named "&6Wand of Teleportation"
send "&aYou gave &6Wand of Teleportation &ato %arg-1%."
on right click with stick:
if name of player's tool is "&6Wand of Teleportation":
if {wandCooldown::%uuid of player%} is set:
send "&cYou must wait before using the Wand of Teleportation again!"
else:
set {wandCooldown::%uuid of player%} to now
teleport player to location (random integer between -100 and 100) blocks east, (random integer between 1 and 256) blocks up, (random integer between -100 and 100) blocks south from location of player
send "&aYou have been teleported to a random location!"
wait 60 seconds real time
delete {wandCooldown::%uuid of player%}
