Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on mine:
- if event-block is diamond ore or emerald ore or gold ore or iron ore or coal ore:
- set {_lb} to a random integer between 1 and 250
- set {_lbr} to a random integer between 1 and 250
- if {_lb} is {_lbr}:
- set event-block to sponge
- set {lb.%event-block's location%} to true
- set {lbo.%event-block's location%} to player
- on click on sponge:
- if {lb.%event-block's location%} is true:
- if {lbo.%event-block's location%} is player:
- set {_lbp} to a random integer between 1 and 3
- if {_lbp} is 1:
- send "&e[LUCKY] You have gotten 7x Diamonds!"
- give 7 diamonds named "&eLucky Diamonds" to player
- if {_lbp} is 2:
- send "&e[LUCKY] You have gotten $75!"
- add 75 to player's account
- if {_lbp} is 3:
- send "&e[LUCKY] You have unlucked Mango Suit! &7(/suits)"
- make console execute "/manuaddp %player% suits.mango"
- set event-block to air
- delete {lb.%event-block's location%}
- delete {lbo.%event-block's location%}
- if {lbo.%event-block's location%} is not player:
- send "&e[LUCKY] You can not open this Lucky Block as it's not yours!" to player
- cancel event
Add Comment
Please, Sign In to add comment