Guest User

Untitled

a guest
Jan 13th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. on rightclick on player:
  2. if name of clicked player is "Epik":
  3. open chest with 3 rows named " &8&lMega Itemy" to player
  4. format slot 0 of player with 1 of Diamond helmet of protection 4 and unbreaking 3 named "&7&lSmoczy Helm" with lore "&7koszt przedmiotu : &e50.000" to close then run [execute player command "smok1"]
  5. format slot 1 of player with 1 of Diamond chestplate of protection 4 and unbreaking 3 named "&7&lSmoczy Helm" with lore "&7koszt przedmiotu : &e75.000" to close then run [execute player command "smok2"]
  6. format slot 2 of player with 1 of Diamond leggings of protection 4 and unbreaking 3 named "&7&lSmoczy Helm" with lore "&7koszt przedmiotu : &e65.000" to close then run [execute player command "smok3"]
  7. format slot 3 of player with 1 of Diamond boots of protection 4 and unbreaking 3 named "&7&lSmoczy Helm" with lore "&7koszt przedmiotu : &e50.000" to close then run [execute player command "smok4"]
  8. format slot 5 of player with 1 of Diamond sword of sharpness 4 and fire aspect 2 named "&7&lSmoczy Miecz" with lore "&7koszt przedmiotu : &e100.000" to close then run [execute player command "smok5"]
  9. command /smok1:
  10. trigger:
  11. if {%player%:Hajsy} is bigger or equal to 50000:
  12. remove 50000 from {%player%:Hajsy}
  13. give player Diamond helmet of protection 4 and unbreaking 3 named "&7&lSmoczy Helm"
  14. command /smok2:
  15. trigger:
  16. if {%player%:Hajsy} is bigger or equal to 65000:
  17. remove 65000 from {%player%:Hajsy}
  18. give player Diamond chestplate of protection 4 and unbreaking 3 named "&7&lSmocza Klata"
  19. command /smok3:
  20. trigger:
  21. if {%player%:Hajsy} is bigger or equal to 75000:
  22. remove 75000 from {%player%:Hajsy}
  23. give player Diamond leggings of protection 4 and unbreaking 3 named "&7&lSmocze Spodnie"
  24. command /smok4:
  25. trigger:
  26. if {%player%:Hajsy} is bigger or equal to 50000:
  27. remove 50000 from {%player%:Hajsy}
  28. give player Diamond boots of protection 4 and unbreaking 3 named "&7&lSmocze Buty"
  29. command /smok5:
  30. trigger:
  31. if {%player%:Hajsy} is bigger or equal to 100000:
  32. remove 100000 from {%player%:Hajsy}
  33. give player Diamond sword of sharpness 4 and fire aspect 2 and unbreaking 3 named "&7&lSmoczy Miecz"
Advertisement
Add Comment
Please, Sign In to add comment