TheBlooes

MyTeleport

Apr 15th, 2014
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. # MyTeleport v1.0 #
  2. # Autor : TheBlooes #
  3. command /spawntp:
  4. permission: spawntp.use
  5. trigger:
  6. player has 1 gold block and 2 stick:
  7. remove gold block and 2 stick from player
  8. clear {Teleport.%player%}
  9. wait a tick
  10. if {Teleport.%player%} is 1:
  11. send "&aDostales 1 różdżkę!"
  12. give a 280 of unbreaking 10 named "&2Teleport" to the player
  13. else:
  14. send "&4Blad:&cNie posiadasz 1 bloku złota i 2 patyków !."
  15. on rightclick:
  16. player is holding a stick named "&2Teleport":
  17. teleport player to spawn
  18. send "&aPrzeteleportowano!"
  19. wait a tick
  20. remove 1 280 of unbreaking 10 named "&2Teleport" from player
Advertisement
Add Comment
Please, Sign In to add comment