Randall123459

Risky Mining

Apr 8th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. command /RiskyMining <text>:
  2. usage: /RiskyMining <enable:disable:toggle>
  3. permission: skript.op
  4. trigger:
  5. if arg 1 is "enable" or "on":
  6. set {RiskyMining} to true
  7. message "&aRisky Mining Enabled!"
  8. if arg 1 is "disable" or "off":
  9. set {RiskyMining} to false
  10. message "&cRisky Mining Disabled!"
  11. if arg 1 is "toggle":
  12. if {RiskyMining} is false:
  13. set {RiskyMining} to true
  14. message "&aRisky Mining Enabled!"
  15. if {RiskyMining} is true:
  16. set {RiskyMining} to false
  17. message "&cRisky Mining Disabled!"
  18.  
  19. on break of diamond ore:
  20. if {RiskyMining} is true
  21. cancel event
  22. set block to air
  23. chance of 75%:
  24. drop 1 diamond
  25. drop 1 golden apple
  26. chance of 25%:
  27. spawn a silverfish at player
  28.  
  29. on break of gold ore:
  30. if {RiskyMining} is true
  31. cancel event
  32. set block to air
  33. chance of 75%:
  34. drop 1 gold ingot
  35. apply strength 1 to player 3 minutes
  36. chance of 25%:
  37. spawn 1 zombie at player
Advertisement
Add Comment
Please, Sign In to add comment