Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with paper:
- set {_waited} to difference between {spam.%player%.lastused} and now
- if {_waited} is less than 5 seconds:
- message "&7You can only use one &e&nTome of&r &6Trading Center&7 at a time!"
- stop
- if {_waited} is more than 5 seconds:
- if player's tool's name contains "&e&nTome of&r &6Trading Center":
- if player's tool's lore contains "&a&l(!)&r&a Right click to teleport!":
- run player command "/tometp Trading Center" as op
- remove 1 paper named "&eTome of Trade Center" from the player
- set {spam.%player%.lastused} to now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement