on place of chest: if name of player's tool is "&6Chest": if player has name tag of infinity 10 named "&eKluczyk" with lore "&7Otworzy skrzynke": remove name tag of infinity 10 named "&eKluczyk" with lore "&7Otworzy skrzynke" from player remove chest named "&6Chest" from player chance of 1%: drop 1 diamond boots of protection 7 and unbreaking 4 send "&6Skrzynia" send "&aZnalazles Buty trojcy!" stop chance of 1%: drop 1 diamond leggings of protection 7 and unbreaking 4 send "&6Skrzynia" send "&aZnalazles Spodnie trojcy!" stop chance of 1%: drop 1 diamond chestplate of protection 7 and unbreaking 4 send "&6Skrzynia" send "&aZnalazles Zbroje trojcy!" stop chance of 1%: drop 1 diamond helmet of protection 7 and unbreaking 4 send "&6Skrzynia" send "&aZnalazles Helm trojcy!" stop chance of 1%: drop 1 diamond sword of sharpness 7 and fire aspect 3 send "&6Skrzynia" send "&aZnalazles Ostrze trojcy!" stop chance of 1%: drop 1 diamond pickaxe of efficiency 6 send "&6Skrzynia" send "&aZnalazles Kilof trojcy!" stop chance of 1%: drop 10 name tag of infinity 10 named "&eKluczyk" send "&6Skrzynia trojcy" send "&aZnalazles 10 kluczy!" stop chance of 1%: drop 1 elytra send "&6Skrzynia" send "&aZnalazles Elytry!" stop else: drop 1 dirt send "&6Skrzynia" send "&aNiestety, masz dzisiaj pecha..." stop