Guest User

skript tpa

a guest
May 7th, 2015
745
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. command /tpa [<player>]:
  2. trigger:
  3. if arg 1 is player:
  4. set {_pos} to location of player
  5. send "{@tag}&7Czekaj &65 sekund&7, nie wolno Ci sie ruszyc!"
  6. if {_pos} isn't location of player:
  7. send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  8. stop
  9. wait 1 second
  10. if {_pos} isn't location of player:
  11. send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  12. stop
  13. wait 1 second
  14. if {_pos} isn't location of player:
  15. send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  16. stop
  17. wait 1 second
  18. if {_pos} isn't location of player:
  19. send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  20. stop
  21. wait 1 second
  22. if {_pos} isn't location of player:
  23. send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  24. stop
  25. wait 1 second
  26. if {_pos} is location of player:
  27. teleport player to argument 1
  28. send "&bPrzeteleportowales sie do gracza &c%arg 1%"
  29. send "&c%player% &bprzeteleportowal sie do ciebie!" to argument 1
  30. stop
  31. else:
  32. send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  33. stop
  34.  
  35. else:
  36. send "&4Podaj nick gracza"
  37. stop
Advertisement
Add Comment
Please, Sign In to add comment