Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #========================#
- # Mob Ores Skript #
- # Made by NotNotJohn #
- # Feel free to use! #
- #Compatible with KutKlean#
- #========================#
- command /mobores <text>:
- description: Mob Ores Enable:Disable
- usage: /mobores <enable:disable>
- permission: skript.op
- permission message: &4You are not permitted to use this message
- aliases: /mo, /mobores
- trigger:
- if arg 1 is "enable":
- if {Mob Ores} is false:
- set {Mob Ores} to true
- broadcast "&2{Mob Ores} is enabled!"
- if {Mob Ores} is true:
- broadcast "&4{Mob Ores} is already enabled!"
- stop
- if arg 1 is "disable":
- if {Mob Ores} is true:
- set {Mob Ores} to false
- broadcast "&4{Mob Ores} is disabled!"
- if {Mob Ores} is false:
- broadcast "&4{Mob Ores} is already disabled!"
- stop
- #===================#
- # Mob Ores Mining #
- #===================#
- on mine of coal ore:
- chance of 10%
- set the block to air
- cancel the event
- drop 1 coal
- spawn 1 zombie
- on mine of iron ore:
- chance of 10%
- set the block to air
- cancel the event
- drop 1 iron ore
- spawn 1 skeleton
- on mine of gold ore:
- chance of 10%
- set the block to air
- cancel the event
- drop 1 gold ore
- spawn 1 spider
- on mine of diamond ore:
- chance of 10%
- set the block to air
- cancel the event
- drop 1 diamond
- spawn 1 witch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement