XWXJmssI
Język: Skript
|
Autor: Anonimowy
options: pandoraname:&3&lPuszka Pandory pandoralore:&8» &eJezeli chcesz zakupic wiecej Puszek Pandory &c/sklep item11: diamond sword of sharpness 5 and fire aspect 2 item21: diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 item31: diamond helmet of protection 4 and unbreaking 3 item41: Diamond Chestplate of protection 4 and unbreaking 3 item51: Diamond Leggings of protection 4 and unbreaking 3 item61: Diamond Boots of protection 4 and unbreaking 3 item71: emerald block item81: enchanted golden apple item91: golden apple item101: ender pearl command /32puszki [<player>]: permission: * trigger: if arg is set: loop 32 times: give player-arg Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" if arg is not set: send "&4Blad: &cNick?" command /64puszki [<player>]: permission: * trigger: if arg is set: loop 64 times: give player-arg Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" if arg is not set: send "&4Blad: &cNick?" command /pandora [<text>]: permission: * trigger: if arg 1 is "daj": give player Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" send "&eDostales pandorke" stop if arg 1 is "all": broadcast "&c&l ZA 5 SEKUND KAZDY DOSTANIE PANDORKE! ZROB MIEJSCE WOLNE W EQ!" wait 100 ticks set {pierozekall} to false loop all players: loop 2 times: give loop-player Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" stop if arg 1 is "on": broadcast "&ePuszki pandory zostaly &awlaczone&e." clear {pandorka.status.on} stop if arg 1 is "off": broadcast "&ePuszki pandory zostaly &cwylaczone&e." set {pandorka.status.on} to false stop else: send "&4Prawidlowe uzycie: &c/pandora <daj/all/on/off>" stop on place dragon egg: if player's tool is dragon egg named "{@pandoraname}" with lore "{@pandoralore}": remove 1 dragon egg from player's inventory if {pandorka.status.on} is not set: remove 1 Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" from the player chance of 15%: if player can hold diamond sword: give player {@item11} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cMiecz 5/2" stop else: drop {@item11} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cMiecz 5/2" stop chance of 10%: broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &e24x &cKopacz fosy" loop 24 times: if player can hold 1 enchantment table named "&aKOPACZ FOSY": give player enchantment table named "&aKOPACZ FOSY" else: drop enchantment table named "&aKOPACZ FOSY" stop chance of 30%: if player can hold diamond pickaxe: give player {@item21} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cKilof 5/3/3" stop else: drop {@item21} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cKilof 5/3/3" stop chance of 30%: if player can hold diamond helmet: give player {@item31} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cHelm 4/3" stop else: drop {@item31} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cHelm 4/3" stop chance of 30%: if player can hold diamond chestplate: give player {@item41} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cKlate 4/3" stop else: drop {@item41} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cKlate 4/3" stop chance of 30%: if player can hold diamond Leggings: give player {@item51} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cSpodnie 4/3" stop else: drop {@item51} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cSpodnie 4/3" stop chance of 30%: if player can hold diamond boots: give player {@item61} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cButy 4/3" stop else: drop {@item61} broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &cButy 4/3" stop chance of 30%: broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &e16x &cBloki Szmaragdow" loop 16 times: if player can hold emerald block: give player {@item71} else: drop {@item71} stop chance of 25%: broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &e3x &cKox" loop 3 times: if player can hold enchanted golden apple: give player {@item81} else: drop {@item81} stop chance of 25%: broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &e15x &cRefow" loop 15 times: if player can hold golden apple: give player {@item91} else: drop {@item91} stop chance of 10%: broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &e3x &cEnderpearl" loop 3 times: if player can hold ender pearl: give player {@item101} else: drop {@item101} stop chance of 100%: if player can hold Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}": give player Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &3&lPuszke Pandory" stop else: drop Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" broadcast "&e%player% &6Otworzyl Puszke Pandory i wylosowal: &3&lPuszke Pandory" stop if {pandorka.status.on} is set: send "&cUslugi PREMIUM sa obecnie wylaczone!" to player