on rightclick: if player's tool is chest named "&3&lZniszczona Skrzynia" with lore "test": remove chest named "&3&lZniszczona Skrzynia" with lore "test" from the player cancel event send "&7[&8Drop&7] &9Otworzyles szkatulke !" to player chance of 25%: give a leather tunic of protection 1 and thorns 1 named "&3Slaba Zniszczona Zbroja" with lore "test" to player stop chance of 100%: give a leather pants of protection 1 and thorns 1 named "&3Slaba Zniszczona Spodnie" with lore "test" to player stop