#########OPENING####### #Podszywanie się:Nie #Zmienianie kodu:TAK #Podrabianie:NIE #Wykorzystywanie:NIE #Sprzedawanie:NIE #########OPENING###### on rightclick with chest: if name of player's tool is "&c&l>> &7Skrzynia OPENING": if player have 1 torch named "&c&l>> &7Klucz OPENING": set {_rl} to random integer between 1 and 9 remove 1 chest named "&c&l>> &7Skrzynia OPENING" from player remove 1 torch named "&c&l>> &7Klucz OPENING" 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 chest named "&c&l>> &7Skrzynia OPENING" to player if {_rl} is 9: broadcast "&c&l>> &7Graczowi %player% zwrócił się Klucz!" give 1 torch named "&c&l>> &7Klucz OPENING" to player