Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break:
- if player's gamemode is survival:
- 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" to player
- chance of 50%:
- set {_n} to a random integer between 0 and 100000000
- drop prismarine crystal named "Speed: %{_n}%" at block above event-block
- chance of 10%:
- set {_m} to a random integer between 0 and 1000000
- drop prismarine shard named "Speed: %{_m}%" at block above event-block
- wait 15 seconds
- set event-block to coal ore
- on pickup:
- if event-item is prismarine crystal:
- cancel event
- delete item
- add 1 to {crystal::%uuid of player%}
- message "&3+ 1 crystal (no multiplier)" to player
- if event-item is prismarine shard:
- cancel event
- delete item
- add 1 to {shard::%uuid of player%}
- message "&3+ 1 shard (no multiplier)" to player
- command /balance:
- trigger:
- message "&7Balance: &a%player's balance%"
- message "&7Crystals: &b%{crystal::%uuid of player%}%"
- message "&7Shards: &3%{shard::%uuid of player%}%"
- command /bal:
- trigger:
- message "&7Balance: &a%player's balance%"
- message "&7Crystals: &b%{crystal::%uuid of player%}%"
- message "&7Shards: &3%{shard::%uuid of player%}%"
- command /money:
- trigger:
- message "&7Balance: &a%player's balance%"
- message "&7Crystals: &b%{crystal::%uuid of player%}%"
- message "&7Shards: &3%{shard::%uuid of player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement