NoVemberr_

Rozczka na Spawn

Oct 5th, 2016
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. command /rozdzka:
  2. trigger:
  3. if player has 9 diamond block:
  4. remove 9 diamond block from player
  5. give a 369 named "&8» &7Rozdka teleportacji do &eLobby&7." to the player
  6. else:
  7. message "&8» &7Nie posiadasz: &e(9x blokow diamentow)"
  8.  
  9. on rightclick:
  10. if name of player's tool is "&8» &7Rozdka teleportacji do &eLobby&7.":
  11. set {_pos} to location of player
  12. message "&8» &7Trwa teleportacja, musisz poczekac &e5 sekund&7."
  13. message "&8» &7Nie ruszaj &esie!"
  14. wait 1 second
  15. if {_pos} is location of player:
  16. wait 1 second
  17. if {_pos} is location of player:
  18. wait 1 second
  19. if {_pos} is location of player:
  20. wait 1 second
  21. if {_pos} is location of player:
  22. wait 1 second
  23. if {_pos} is location of player:
  24. execute console command "spawn %player%"
  25. message "&8» &7Zostales pomyslnie przeteleportowany na &espawn&7."
  26. remove 1 369 of unbreaking 1 named "&8» &7Rozdka teleportacji do &eLobby&7." from player
  27. else:
  28. cancel event
  29. message "&8» &8» &7Wykryto ruch, &eteleportacja anulowana!"
  30. stop
  31. else:
  32. cancel event
  33. message "&8» &7Wykryto ruch, &eteleportacja anulowana!"
  34. stop
  35. else:
  36. cancel event
  37. message "&8» &7Wykryto ruch, &eteleportacja anulowana!"
  38. stop
  39. else:
  40. cancel event
  41. message "&8» &7Wykryto ruch, &eteleportacja anulowana!"
  42. stop
  43. else:
  44. cancel event
  45. message "&8» &7Wykryto ruch, &eteleportacja anulowana!"
  46. stop
Advertisement
Add Comment
Please, Sign In to add comment