Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break:
- cancel event
- if event-block is coal ore:
- if held item is pickaxe:
- if player's gamemode is survival:
- cancel event
- set event-block to stone
- give coal item to player
- play "BLOCK_NOTE_PLING"
- set {_n} to a random integer between 0 and 100000000
- drop gold nugget named "Speed: %{_n}%" at block above event-block
- wait 15 seconds
- set event-block to coal ore
- on pickup:
- if event-item is gold nugget:
- cancel event
- delete item
- add 1 to {token::%uuid of player%}
- message "&6+ 1 token (no multiplier)" to player
- command /balance:
- trigger:
- message "&7Balance: &a$%player's balance%"
- message "&7Tokens: &6%{token::%uuid of player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement