Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################################################
- # Licencja: #
- # - Zakaz podszywania się pod Autora Skryptu! #
- # - Zakaz kopiowania na inne forum, bez mojej zgody! #
- # - Zezwalam na modyfikowanie zawartosci dla wlasnych potrzeb #
- # - Zakaz zarabiania na skrypcie #
- # _-_by Radasekpro2_-_ #
- ################################################################
- variables:
- {glinax.%player%} = 1
- command /glinax:
- trigger:
- player has 576 cobblestone:
- remove 576 cobblestone from player
- clear {glinax.%player%}
- wait a tick
- set {glinax.%player%} to a random integer from 1 to 3
- if {glinax.%player%} is 1:
- send "&aDostales 1 &4>&aGlina&c&lX&4< &f!"
- give 1 337 of unbreaking 10 named "&4>&aGlina&c&lX&4<" to the player
- if {glinax.%player%} is 2:
- send "&aDostales 2 &4>&aGlina&c&lX&4< &f!"
- give 2 337 of unbreaking 10 named "&4>&aGlina&c&lX&4<" to the player
- if {glinax.%player%} is 3:
- send "&aDostales 3 &4>&aGlina&c&lX&4< &f!"
- give 3 337 of unbreaking 10 named "&4>&aGlina&c&lX&4<" to the player
- else:
- send "&4Blad:&cNie posiadasz 9 stakow cobblestone!."
- on rightclick:
- player is holding a clay named "&4>&aGlina&c&lX&4<":
- give a random item out of all items to the player
- remove 1 337 of unbreaking 10 named "&4>&aGlina&c&lX&4<" from player
Advertisement
Add Comment
Please, Sign In to add comment