Advertisement
Guest User

Untitled

a guest
May 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. on break of sponge:
  2. cancel event
  3. set event-block to air
  4. set {luckyblock.%player%} to a random integer between 1 and 11
  5. if {luckyblock.%player%} is 1:
  6. chance of 50%:
  7. give a diamond sword of sharpness 2 named "&e&lLucky Sword" to the player
  8. send "&6&lLucky&e&lBlock &a- &7You opened LuckyBlock and got &aLucky Sword&7 !" to player
  9. stop
  10. if {luckyblock.%player%} is 2:
  11. chance of 50%:
  12. give a paper named "&e&lLucky Paper" to the player
  13. send "&6&lLucky&e&lBlock &a- &7You opened LuckyBlock and got &aLucky Paper&7 !" to player
  14. stop
  15. if {luckyblock.%player%} is 3:
  16. chance of 50%:
  17. spawn 2 horse at the event-block
  18. send "&6&lLucky&e&lBlock &a- &7You opened LuckyBlock and got &a2x Horses&7 !" to player
  19. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement