Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /pinata:
- permission: dp.epic
- trigger:
- set {pinata} to true
- spawn 1 sheep
- set {pinata} to false
- broadcast "<red><italic>ThePrisonServer <reset><gray>> <red>Pinata? Yeah! Pinatas!"
- on spawn of a sheep:
- {pinata} is true:
- apply resistance 3 to entity for 999 days
- apply regeneration 6 to entity for 999 days
- apply slowness 7 to entity for 999 days
- set {pinata1} to true
- on death of a sheep:
- {pinata1} is not true:
- stop trigger
- set {pinata1} to false
- set {_temp} to location of victim
- loop 250 times:
- wait 0.05 seconds
- chance of 4%:
- drop a diamond block at {_temp}
- chance of 2%:
- drop an emerald block at {_temp}
- chance of 20%:
- drop an iron ingot at {_temp}
- chance of 10%:
- drop a diamond at {_temp}
- chance of 0.5%:
- drop a diamond sword of sharpness 2 at {_temp}
- chance of 10%:
- drop steak at {_temp}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement