Guest User

Untitled

a guest
Feb 2nd, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. on right click with spawn egg:
  2. if {_poczekaj::%player%} is 0:
  3. if player is in "spawn":
  4. cancel event
  5. if name of player's tool is "&lZwoj &8Klon cienia":
  6. Remove spawn egg named " &lZwoj &8Klon cienia" from player
  7. Send "&7[&4PvP&7] &eUzyles &eKlon Cienia!&7!"
  8. run player command "vanish" as op
  9. run player command "npc create %name of player%" as op
  10. run player command "npc rotate" as op
  11. set {_poczekaj::%player%} to 15
  12. wait 10 second
  13. run player command "vanish" as op
  14. run player command "npc remove" as op
  15. stop
  16. else:
  17. send "Aby uzyc zaczekaj jeszcze: %{_poczekaj::%player%}% sekund"
  18. stop
  19.  
  20. every 1 seconds:
  21. loop all players:
  22. if {_poczekaj::%loop-player%} is smaller than 16:
  23. if {_poczekaj::%loop-player%} is bigger than 0:
  24. add -1 to {_poczekaj::%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment