Procix94

GlinaX

Aug 23rd, 2014
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. ################################################################
  2. # Licencja: #
  3. # - Zakaz podszywania się pod Autora Skryptu! #
  4. # - Zakaz kopiowania na inne forum, bez mojej zgody! #
  5. # - Zezwalam na modyfikowanie zawartosci dla wlasnych potrzeb #
  6. # - Zakaz zarabiania na skrypcie #
  7. # _-_by Radasekpro2_-_ #
  8. ################################################################
  9. variables:
  10. {glinax.%player%} = 1
  11. command /glinax:
  12. trigger:
  13. player has 576 cobblestone:
  14. remove 576 cobblestone from player
  15. clear {glinax.%player%}
  16. wait a tick
  17. set {glinax.%player%} to a random integer from 1 to 3
  18. if {glinax.%player%} is 1:
  19. send "&aDostales 1 &4>&aGlina&c&lX&4< &f!"
  20. give 1 337 of unbreaking 10 named "&4>&aGlina&c&lX&4<" to the player
  21. if {glinax.%player%} is 2:
  22. send "&aDostales 2 &4>&aGlina&c&lX&4< &f!"
  23. give 2 337 of unbreaking 10 named "&4>&aGlina&c&lX&4<" to the player
  24. if {glinax.%player%} is 3:
  25. send "&aDostales 3 &4>&aGlina&c&lX&4< &f!"
  26. give 3 337 of unbreaking 10 named "&4>&aGlina&c&lX&4<" to the player
  27. else:
  28. send "&4Blad:&cNie posiadasz 9 stakow cobblestone!."
  29. on rightclick:
  30. player is holding a clay named "&4>&aGlina&c&lX&4<":
  31. give a random item out of all items to the player
  32. remove 1 337 of unbreaking 10 named "&4>&aGlina&c&lX&4<" from player
Advertisement
Add Comment
Please, Sign In to add comment