grantygames

skit.sk

Jul 29th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. # FEITO POR v1n1 EDITADO POR GRANTY #
  2. options:
  3. # Prefixo #
  4. p: &eSeu server
  5.  
  6. # | Skript | #
  7. command /skit [<text>]:
  8. permission: setkit.usar
  9. trigger:
  10. if arg 1 is "criar":
  11. if arg 2 is set:
  12. loop all items in player's inventory:
  13. add loop-item to {s.%arg 1%.items::*}
  14. set {s.%arg 1%::h} to player's helmet
  15. set {s.%arg 1%::c} to player's chestplate
  16. set {s.%arg 1%::l} to player's leggings
  17. set {s.%arg 1%:b} to player's boots
  18. send "Skit Criado."
  19. remove arg 1 from {skit::*}
  20. wait 2 tick
  21. add arg 1 to {skit::*}
  22. if arg 1 is "aplicar":
  23. if arg 2 is set:
  24. send "{@p} &aCopia de seu inventário dada a todos os jogadores."
  25. wait 1 second
  26. loop all players:
  27. clear loop-player's inventory
  28. give loop-player {s.%arg 1%.items::*}
  29. set the loop-player's helmet to {s.%arg 1%::h}
  30. set the loop-player's chestplate to {s.%arg 1%::c}
  31. set the loop-player's leggings to {s.%arg 1%::l}
  32. set the loop-player's boots to {s.%arg 1%::b}
  33. stop
  34. if arg 1 is "list":
  35. send "%{skit::*}%"
Advertisement
Add Comment
Please, Sign In to add comment