Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /RiskyMining <text>:
- usage: /RiskyMining <enable:disable:toggle>
- permission: skript.op
- trigger:
- if arg 1 is "enable" or "on":
- set {RiskyMining} to true
- message "&aRisky Mining Enabled!"
- if arg 1 is "disable" or "off":
- set {RiskyMining} to false
- message "&cRisky Mining Disabled!"
- if arg 1 is "toggle":
- if {RiskyMining} is false:
- set {RiskyMining} to true
- message "&aRisky Mining Enabled!"
- if {RiskyMining} is true:
- set {RiskyMining} to false
- message "&cRisky Mining Disabled!"
- on break of diamond ore:
- if {RiskyMining} is true
- cancel event
- set block to air
- chance of 75%:
- drop 1 diamond
- drop 1 golden apple
- chance of 25%:
- spawn a silverfish at player
- on break of gold ore:
- if {RiskyMining} is true
- cancel event
- set block to air
- chance of 75%:
- drop 1 gold ingot
- apply strength 1 to player 3 minutes
- chance of 25%:
- spawn 1 zombie at player
Advertisement
Add Comment
Please, Sign In to add comment