Advertisement
CREAMPAN0408

Untitled

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