Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break of sponge:
- cancel event
- set event-block to air
- set {luckyblock.%player%} to a random integer between 1 and 11
- if {luckyblock.%player%} is 1:
- chance of 50%:
- give a diamond sword of sharpness 2 named "&e&lLucky Sword" to the player
- send "&6&lLucky&e&lBlock &a- &7You opened LuckyBlock and got &aLucky Sword&7 !" to player
- stop
- if {luckyblock.%player%} is 2:
- chance of 50%:
- give a paper named "&e&lLucky Paper" to the player
- send "&6&lLucky&e&lBlock &a- &7You opened LuckyBlock and got &aLucky Paper&7 !" to player
- stop
- if {luckyblock.%player%} is 3:
- chance of 50%:
- spawn 2 horse at the event-block
- send "&6&lLucky&e&lBlock &a- &7You opened LuckyBlock and got &a2x Horses&7 !" to player
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement