on rightclick on chest: if name of player's tool is "&e&lSkrzynia Wladcy Zombie": chance of 1%: give diamond helmet of protection 2 and unbreaking 1 named "&7&lZardzewialy Helm Wladcy Zombie" to player remove chest named "&e&lSkrzynka Wladcy Zombie" from player's inventory chance of 0.1% give chest named "&3&lSkrzynia z Akcesoriami &e&l[1-10]" to player broadcast "&E&LDROP 1-10 &8» &aGracz &2%player% &aznalazl &3&lSkrzynia z Akcesoriami &e&l[1-10]!" remove chest named "&e&lSkrzynka Wladcy Zombie" from player's inventory chance of 1.1%: send "&E&LDROP &8» &7Ta skrzynka okazala sie byc pusta...!" to player remove chest named "&e&lSkrzynka Wladcy Zombie" from player's inventory chance of 1.2%: give diamond chestplate of protection 3 and unbreaking 1 named "&7&lStara Klata Wladcy Zombie" to player remove chest named "&e&lSkrzynka Wladcy Zombie" from player's inventory chance of 0.9%: give diamond sword of sharpness 8 and smite 2 and unbreaking 2 named "&6&lLegendarny Miecz Wladcy Zombie" to player remove chest named "&e&lSkrzynka Wladcy Zombie" from player's inventory