Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. on first join:
  2. teleport player to {hc.spawn}
  3. on respawn:
  4. teleport player to {hc.spawn}
  5. command /spawn [<player>]:
  6. trigger:
  7. if player has permission "hc.admin":
  8. if arg 1 is set:
  9. teleport %arg 2% to {hc.spawn}
  10. stop
  11. else:
  12. teleport player to {hc.spawn}
  13. stop
  14. if player has permission "hc.vip":
  15. send "&6Teleportacja nastapi za 5 sekund, nie ruszaj sie!"
  16. set {_x.%player%} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%"
  17. loop 5 times:
  18. wait 1 second
  19. if {_x.%player%} is not "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%":
  20. send "&cPoruszyles sie, teleportacja anulowana!"
  21. stop
  22.  
  23.  
  24. command /setspawn:
  25. trigger:
  26. if player has permission "hc.spawn":
  27. set {hc.spawn} to loaction of the player
  28. send "&8**&9Ustawiles spawn"
  29. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement