Advertisement
haverex

Untitled

Aug 29th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. command /zywiol [<text>] [<text>]:
  2. trigger:
  3. if arg 1 is "wybierz":
  4. if {lvl.%player%} is greater than 4:
  5. if {blokada.%player%} is false:
  6. open chest with 1 rows named "&6&lWybierz zywioł" to player
  7. wait 2 tick
  8. format slot 0 of player with 327 named "&aMag Ognia" with lore "" to close then run [execute player command "/zywiol ogien"]
  9. else:
  10. send "&cBrak wymaganego poziomu: &b5"
  11. if arg 1 is "ogien":
  12. if {blokada.%player%} is false:
  13. send "&9» &7%player%, wybrał maga ognia" to all players
  14. set {mag.%player%} to "Ogien"
  15. set {blokada.%player%} to true
  16. stop
  17. if arg 1 is "woda":
  18. if {blokada.%player%} is false:
  19. send "&9» &7%player%, wybrał maga woda" to all players
  20. set {mag.%player%} to "Woda"
  21. set {blokada.%player%} to true
  22. stop
  23. if arg 1 is "ziemia":
  24. if {blokada.%player%} is false:
  25. send "&9» &7%player%, wybrał maga ziemi" to all players
  26. set {mag.%player%} to "Ziemia"
  27. set {blokada.%player%} to true
  28. stop
  29. if arg 1 is "powietrza":
  30. if {blokada.%player%} is false:
  31. send "&9» &7%player%, wybrał maga powietrza" to all players
  32. set {mag.%player%} to "Powietrze"
  33. set {blokada.%player%} to true
  34. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement