Guest User

rozdzka tp 0.3

a guest
Mar 23rd, 2014
889
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. #Skrypt by Sortiq
  2. #Prawa zastrzezone.
  3. command /rozdzkatp:
  4. trigger:
  5. if player has 1 gold block:
  6. remove 1 gold block from player
  7. give a 280 of knockback 2 named "&3Rozdzka teleportujaca na &cspawna" to the player
  8. else:
  9. message "&anie masz 1 bloku &ezlota."
  10.  
  11. on rightclick:
  12. if name of player's tool is "&3Rozdzka teleportujaca na &cspawna":
  13. set {_pos} to location of player
  14. message "&c&l[&7&lDIDONWand&c&l] &6Czekaj &35 &asekund&7, &cnie &4wolno Ci sie &3ruszyc!"
  15. wait 1 second
  16. if {_pos} is location of player:
  17. wait 1 second
  18. if {_pos} is location of player:
  19. wait 1 second
  20. if {_pos} is location of player:
  21. wait 1 second
  22. if {_pos} is location of player:
  23. wait 1 second
  24. if {_pos} is location of player:
  25. teleport player to spawn
  26. message "&aSukces: &ePrzeleportowano!"
  27. remove 1 280 of knockback 2 named "&3Rozdzka teleportujaca na &cspawna" from player
  28. else:
  29. cancel event
  30. message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
  31. stop
  32. else:
  33. cancel event
  34. message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
  35. stop
  36. else:
  37. cancel event
  38. message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
  39. stop
  40. else:
  41. cancel event
  42. message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
  43. stop
  44. else:
  45. cancel event
  46. message "&cBlad: &4Wykryto ruch, teleportacja anulowana!"
  47. stop
Advertisement
Add Comment
Please, Sign In to add comment