Advertisement
CREAMPAN0408

Untitled

Jun 6th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. options:
  2. Prefix: &cReward &7>&6> &e
  3. Percentage: 100
  4. #Add blocks you would like
  5. Block1: oak log
  6. #Block2: diamond ore
  7. #Block3: gold ore
  8. #Block4: emerald ore
  9. #Rewards
  10. Reward1: oak log named "&c原木"
  11. Reward2: apple named "&e新鮮なリンゴ"
  12. #Reward3: 10 diamonds
  13. #Reward4: 25 diamonds
  14. #Reward5: 25 emeralds
  15. #Reward6: 10 emeralds
  16.  
  17. on break of {@Block1}:
  18. chance of {@Percentage}%:
  19. set {_MineRewards} to a random integer between 1 and 6
  20. if {_MineRewards} is 1:
  21. give {@Reward1} to player
  22. cancel event
  23. stop
  24. if {_MineRewards} is 2:
  25. give {@Reward2} to player
  26. cancel event
  27. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement