So in a server im making, there will be given 3 keys/tripwire hooks... each one is supposed to teleport to a different area. There called "Axe Shop Key", "Sword Shop Key" and "Bow Shop Key". But i want so when the player right clicks the specific key, it will go to the type of shop, but it doesnt work.
This is the code that doesn't work:
on rightclick with a tripwire hook:
How do i fix this?
[doublepost=1612209192,1612208366][/doublepost]Its solved because its about another problem, the lore
This is the code that doesn't work:
on rightclick with a tripwire hook:
if player is holding a tripwire hook named "&6&lAxe Shop Key":
teleport player to {b}
if player is holding a tripwire hook named "&6&lSword Shop Key":teleport player to {b}
if player is holding a tripwire hook named "&6&lBow Shop Key":teleport player to {b}
How do i fix this?
[doublepost=1612209192,1612208366][/doublepost]Its solved because its about another problem, the lore