Advertisement
twogz

Untitled

Jul 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. on break:
  2. if player's gamemode is survival:
  3. cancel event
  4. if event-block is coal ore:
  5. if held item is pickaxe:
  6. if player's gamemode is survival:
  7. cancel event
  8. set event-block to stone
  9. give coal item to player
  10. play "BLOCK_NOTE_PLING" to player
  11.  
  12. set {_n} to a random integer between 0 and 100000000
  13. drop prismarine crystal named "Speed: %{_n}%" at block above event-block
  14.  
  15. chance of 10%:
  16. set {_m} to a random integer between 0 and 1000000
  17. drop prismarine shard named "Speed: %{_m}%" at block above event-block
  18.  
  19. wait 15 seconds
  20. set event-block to coal ore
  21.  
  22.  
  23.  
  24. on pickup:
  25. if event-item is prismarine crystal:
  26. cancel event
  27. delete item
  28. add 1 to {crystal::%uuid of player%}
  29. message "&3+ 1 crystal (no multiplier)" to player
  30.  
  31. if event-item is prismarine shard:
  32. cancel event
  33. delete item
  34. add 1 to {shard::%uuid of player%}
  35. message "&3+ 1 shard (no multiplier)" to player
  36.  
  37. command /balance:
  38. trigger:
  39. message "&7Balance: &a%player's balance%"
  40. message "&7Crystals: &b%{crystal::%uuid of player%}%"
  41. message "&7Shards: &3%{shard::%uuid of player%}%"
  42.  
  43. command /bal:
  44. trigger:
  45. message "&7Balance: &a%player's balance%"
  46. message "&7Crystals: &b%{crystal::%uuid of player%}%"
  47. message "&7Shards: &3%{shard::%uuid of player%}%"
  48.  
  49. command /money:
  50. trigger:
  51. message "&7Balance: &a%player's balance%"
  52. message "&7Crystals: &b%{crystal::%uuid of player%}%"
  53. message "&7Shards: &3%{shard::%uuid of player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement