patison234

Untitled

Jan 18th, 2014
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. command /setsp:
  2. trigger:
  3. set {spawn} to location of player
  4. send "&aUstawiono spawn"
  5. stop
  6. command /sp:
  7. trigger:
  8. if player has 10 emerald:
  9. remove 10 emerald from the player
  10. set {_loc} to location of player
  11. wait 1 seconds
  12. if {_loc} isn't location of player:
  13. stop
  14. wait 1 seconds
  15. if {_loc} isn't location of player:
  16. stop
  17. wait 1 seconds
  18. if {_loc} isn't location of player:
  19. stop
  20. wait 1 seconds
  21. if {_loc} isn't location of player:
  22. stop
  23. wait 1 seconds
  24. if {_loc} is location of player:
  25. teleport player to {spawn}
  26. send "&aTeleportacja"
  27. stop
  28. else:
  29. send "&aTeleportacja anulowana!"
  30. stop
  31. else:
  32. send "&aNie masz 10 emereldów!"
  33. stop
Advertisement
Add Comment
Please, Sign In to add comment