on script load: register new shaped recipe for note block named "&9&lPUDELKO" with lore "&3Test||&3Test" using redstone, diamond, redstone, diamond, iron block, diamond, redstone, diamond, redstone on place: if player's tool is note block named "&9&lPUDELKO" with lore "&3Test||&3Test": set block to air wait a tick set block to iron block wait a second set block to gold block wait a second set block to diamond block wait a second set block to air open chest with 3 rows named "&cOpening Pudełko" to player format slot 13 of player with 1 of nether star to run [make player execute command "hjfskxfuyqchxzjiuqsaxz"] command /hjfskxfuyqchxzjiuqsaxz: trigger: open chest with 3 rows named "&cOpening Pudełko" to player chance of 15%: format slot 13 of player with 1 of diamond helmet of protection 4 and unbreaking 3 named "&bHelm 4/3" to be unstealable give 1 diamond helmet of protection 4 and unbreaking 3 named "&bHelm 4/3" to player send "&cWylosowales Helm 4/3!" stop chance of 15%: format slot 13 of player with 1 of diamond chestplate of protection 4 and unbreaking 3 named "&bKlata 4/3" to be unstealable give 1 diamond helmet of protection 4 and unbreaking 3 named "&bHelm 4/3" to player send "&cWylosowales Helm 4/3!" stop chance of 15%: format slot 13 of player with 1 of diamond leggings of protection 4 and unbreaking 3 named "&bSpodnie 4/3" to be unstealable give 1 diamond leggings of protection 4 and unbreaking 3 named "&bHelm 4/3" to player send "&cWylosowales Helm 4/3!" stop chance of 15%: format slot 13 of player with 1 of diamond boots of protection 4 and unbreaking 3 named "&bButy 4/3" to be unstealable give 1 diamond helmet of protection 4 and unbreaking 3 named "&bHelm 4/3" to player send "&cWylosowales Helm 4/3!" stop