Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- pierog: dragon egg
- nazwa: "&b&LPandorka"
- sk: Pierog
- version: 2.0
- tag: &ePierog &8&lยป &6
- log: true
- command /pandora [<text>] [<text>]:
- permission: altermc.pierog
- trigger:
- if arg 1 is set:
- if arg 1 is "all":
- send "Dales pierozka wszystkim graczom &B&LSKRYPT BY MANIAKXBOMBA"
- loop all players:
- give dragon egg named "&bPierozek" to loop-player
- if arg 1 is "give":
- give dragon egg named "&bPierozek" to player
- send "Dales pierozka graczowi %player% &B&LSKRYPT BY MANIAKXBOMBA"
- else:
- send "{@tag} &7/pandora [Nick/all] [Ilosc]"
- on place of {@pierog}:
- wait 1 tick
- set block to air
- loop 2 times:
- create a fake explosion
- set {los} to a random integer between 1 and 13
- {los} is 1:
- drop 1 diamond leggings of protection 4, unbreaking 3
- broadcast "&c&m--- &3%player% &b&lotworzyl Pierozka i wylosowal:&6&l Spodnie 4/3 &c&m--- "
- {los} is 2:
- drop 5 bookshelf
- broadcast "&c&m--- &3%player% &b&lotworzyl Pierozka i wylosowal:&6 5 Biblioteczek &c&m---"
- {los} is 3:
- spawn 1 zombie at the player
- equip the last spawned entity with all diamond armour of protection 4
- set the last spawned entity's max health to 100
- set name of spawned entity to "&dPedalek"
- broadcast "&c&m--- &3%player% &b&lotworzyl Pierozka i wylosowal:&6 Pedalka &c&m---"
- {los} is 4:
- drop 8 golden apple
- broadcast "&c&m--- &3%player% &b&lotworzyl Pierozka i wylosowal:&6 8 Reflili&c&m---"
- {los} is 5:
- drop 1 enchanted golden apple
- broadcast "&c&m--- &3%player% &botworzyl Pierozka i wylosowal:&6 Koxa &c&m---"
- {los} is 6:
- drop 3 dragon egg named "&bPierozek"
- broadcast "&c&m--- &3%player% &botworzyl Pierozka i wylosowal:&6 3 Kolejne pandory &c&m---"
- {los} is 7:
- spawn 1 creeper at the player
- set the last spawned entity's max health to 100
- set name of spawned entity to "&2Ogoreeek"
- broadcast "&c&m--- &3%player% &botworzyl Pierozka i wylosowal:&6 Ogorkaa &c&m---"
- {los} is 8:
- drop 1 diamond sword of sharpness 5, fire aspect 2
- broadcast "&c&l&m--- &3%player% &botworzyl Pierozka i wylosowal:&6 Miecz 5/2 &c&m---"
- {los} is 9:
- drop 1 diamond chestplate of protection 4, unbreaking 3
- broadcast "&c&m--- &3%player% &botworzyl Pierozka i wylosowal:&6 Klate 4/3 &c&m---"
- {los} is 10:
- drop 1 diamond boots of protection 4, unbreaking 3
- broadcast "&c&m--- &3%player% &botworzyl Pierozka i wylosowal:&6 Buty 4/3 &c&m---"
- {los} is 11:
- drop 1 diamond helmet of protection 4, unbreaking 3
- broadcast "&c&m--- &3%player% &botworzyl Pierozka i wylosowal:&6 Helm 4/3 &c&m---"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement