#########Pandorka####### #Podszywanie się:Nie #Zmienianie kodu:TAK #Podrabianie:NIE #Wykorzystywanie:NIE #Sprzedawanie:NIE #########Pandorka###### on rightclick with dragon egg: if name of player's tool is "&c&l>> &7Pandora": if player have 1 tripwire hook named "&c&l>> &7Klucz do Pandory": set {_rl} to random integer between 0 and 12 remove 1 dragon egg named "&c&l>> &7Pandora" from player remove 1 torch named "&c&l>> &7Klucz do Pandory" from player if {_rl} is 1: broadcast "&c&l>> &7Gracz %player% Dostał Klate Boga!" give 1 diamond chestplate of unbreaking 8 and protection 8 named "&c&l>> &7Klata Boga" to player if {_rl} is 2: broadcast "&c&l>> &7Gracz %player% Dostał Spodnie Boga!" give 1 diamond leggings of unbreaking 8 and protection 8 named "&c&l>> &7Spodenki Boga" to player if {_rl} is 3: broadcast "&c&l>> &7Gracz %player% Dostał Buty Boga!" give 1 diamond boots of unbreaking 8 and protection 8 named "&c&l>> &7Buty Boga" to player if {_rl} is 4: broadcast "&c&l>> &7Gracz %player% Dostał Korone Boga!" give 1 diamond helmet of unbreaking 8 and protection 8 named "&c&l>> &7Korona Boga" to player if {_rl} is 5: broadcast "&c&l>> &7Gracz %player% Dostał Kilof Boga!" give 1 diamond pickaxe of unbreaking 8 and efficiency 8 named "&c&l>> &7Kilof Boga" to player if {_rl} is 6: broadcast "&c&l>> &7Gracz %player% Dostał Miecz Boga!" give 1 diamond sword of unbreaking 8 and sharpness 8 named "&c&l>> &7Miecz Boga" to player if {_rl} is 7: broadcast "&c&l>> &7Gracz %player% Nie miał szczęścia wypadło mu 5 zombiakow!" spawn 5 zombie at player if {_rl} is 8: broadcast "&c&l>> &7Graczowi %player% zwróciła się skrzynka!" give 1 dragon egg named "&c&l>> &7Pandora" to player if {_rl} is 9: broadcast "&c&l>> &7Graczowi %player% zwrócił się Klucz!" give 1 tripwire hook named "&c&l>> &7Klucz do Pandory" to player if {_rl} is 10: broadcast "&c&l>> &7Graczowi %player% wydropiło 64 Drewna, 64 cegieł!" give 64 Wood to player give 64 brick to player if {_rl} is 11: broadcast "&c&l>> &7Pandora chyba nie lubi Gracza %player%! Nic Nie dostał!" on mine of stone: chance of 0.5%: drop 1 dragon egg named "&c&lPandora" at block send "&c&l>> &7Wydropiles &e&lPandore&7!" chance of 0.2%: drop 1 tripwire hook named "&c&l>> &7Klucz do Pandory" at block send "&c&l>> &7Wydropiles &e&lKlucz do Pandory" at block command /Pandora [] []: trigger: if player has got permission "pandora.all": if arg 1 is "all": loop all players: give %arg 2% dragon egg named "&c&l>> &7Pandora" to loop-player if arg 1 is not set: send "&c&l>> &7/Pandora all Ilosc !" if arg 2 is not set: send "&c&l>> &7/Pandora all Ilosc !" command /PandoraKlucz [] []: trigger: if player has got permission "pandoraklucz.all": if arg 1 is "all": loop all players: give %arg 2% tripwire hook named "&c&l>> &7Klucz do Pandory" to loop-player if arg 1 is not set: send "&c&l>> &7/Pandoraklucz all Ilosc !" if arg 2 is not set: send "&c&l>> &7/Pandoraklucz all Ilosc !"