Advertisement
Guest User

Untitled

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