Hello I'm a new skripter and my skript have been some errors.
It supposed to teleport the player to a certain place when you use the item but instead it teleports the player to the place he looks.
It supposed to teleport the player to a certain place when you use the item but instead it teleports the player to the place he looks.
Code:
code (text):
on rightclick with compass:
if name of tool of player is "&6&lDesert Finder":
set {desert.spawn} to location 3101, 69, 17046 in world "World"
teleport player to {desert.spawn}