Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&7Eggs&8]&7
- command /eggs [<text>]:
- permission: skript.op
- trigger:
- if arg-1 is "on" or "enable":
- message "{@P} Eggs Enabled!" to player
- set {eggs} to true
- set {eggnumbers::*} to 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, and 30
- else if arg-1 is "off" or "disable":
- set {eggs} to false
- message "{@P} Eggs Disabled!" to player
- on projectile hit:
- {eggs} is true
- projectile is egg
- set {_chosenEggMob} to a random element of {eggnumbers::*}
- if {_chosenEggMob} is 1:
- spawn sheep at event-location
- else if {_chosenEggMob} is 2:
- spawn cow at event-location
- else if {_chosenEggMob} is 3:
- spawn chicken at event-location
- else if {_chosenEggMob} is 4:
- spawn zombie at event-location
- else if {_chosenEggMob} is 5:
- spawn giant at event-location
- else if {_chosenEggMob} is 6:
- spawn wither at event-location
- else if {_chosenEggMob} is 7:
- spawn mooshroom at event-location
- else if {_chosenEggMob} is 8:
- spawn skeleton at event-location
- else if {_chosenEggMob} is 9:
- spawn horse at event-location
- else if {_chosenEggMob} is 10:
- spawn donkey at event-location
- else if {_chosenEggMob} is 11:
- spawn mule at event-location
- else if {_chosenEggMob} is 12:
- spawn enderdragon at event-location
- else if {_chosenEggMob} is 13:
- spawn zombie pigman at event-location
- else if {_chosenEggMob} is 14:
- spawn wither skeleton at event-location
- else if {_chosenEggMob} is 15:
- spawn baby zombie at event-location
- else if {_chosenEggMob} is 16:
- spawn wolf at event-location
- else if {_chosenEggMob} is 17:
- spawn enderman at event-location
- else if {_chosenEggMob} is 18:
- spawn creeper at event-location
- else if {_chosenEggMob} is 19:
- spawn pig at event-location
- else if {_chosenEggMob} is 20:
- spawn silverfish at event-location
- else if {_chosenEggMob} is 21:
- spawn squid at event-location
- else if {_chosenEggMob} is 22:
- spawn ocelot at event-location
- else if {_chosenEggMob} is 23:
- spawn villager at event-location
- else if {_chosenEggMob} is 24:
- spawn witch at event-location
- else if {_chosenEggMob} is 25:
- spawn bat at event-location
- else if {_chosenEggMob} is 26:
- spawn magma cube at event-location
- else if {_chosenEggMob} is 27:
- spawn blaze at event-location
- else if {_chosenEggMob} is 28:
- spawn spider at event-location
- else if {_chosenEggMob} is 29:
- spawn slime at event-location
- else if {_chosenEggMob} is 30:
- spawn cave spider at event-location
- on death of chicken:
- {eggs} is true
- chance of 5%:
- drop 1 egg at victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement