command /pcd [] [] []:     aliases: premiumcase     permission: pcd.give     permission message: &4&l>> &cNie masz permisji     trigger:         if arg 1 is set:             if arg 2 is set:                 if arg 1 is "give":                     set {gracz} to arg 2                     set {ilosc} to arg 3                     if {gracz} is online:                         if {ilosc} is set:                             loop {ilosc} times:                                 give {gracz} chest named "&6&lPremiumCase" with lore "&7By otworzyc musisz miec klucz!"                             send "&aDostales &2&l%{ilosc}% &aszt. PremiumCase od &2&l%player%" to {gracz}                             send "&aDales &2&l%{ilosc}% &aszt. PremiumCase graczowi &2&l%{gracz}%" to player                         else:                             send "&4&l>> &cPodaj ilosc!" to player                             stop                     if {gracz} is offline:                         send "&4&l>> &cTen gracz jest offline!" to player                         stop             else:                 send "&4&l>> &cUzyj: /pcd give " to player                 stop         else:             send "&4&l>> &cUzyj: /pcd give " to player             stop command /pkd [] [] []:     aliases: premiumkeydaj     permission: pkd.give     permission message: &4&l>> &cNie masz permisji     trigger:         if arg 1 is set:             if arg 1 is "give":                 if arg 2 is set:                     if arg 3 is set:                         if arg 2 is online:                             set {gracz} to arg 2                             set {ilosc} to arg 3                             loop {ilosc} times:                                 give {gracz} tripwire hook named "&6&lPremiumKey" with lore "&7Otwiera PremiumCase'a"                             send "&aDostales &2&l%{ilosc}% &aszt. PremiumKey od &2&l%player%" to {gracz}                             send "&aDales &2&l%{ilosc}% &aszt. PremiumKey graczowi &2&l%{gracz}%" to player                         else:                             send "&cTen gracz jest offline" to player                             stop                     else:                         send "&4&l>> &cUzyj: /pkd give " to player                         stop                 else:                     send "&4&l>> &cUzyj: /pkd give " to player                     stop             else:                 send "&4&l>> &cUzyj: /pkd give " to player                 stop         else:             send "&4&l>> &cUzyj: /pkd give " to player             stop on place:     if player's tool is chest named "&6&lPremiumCase" with lore "&7By otworzyc musisz miec klucz!":         if player has tripwire hook named "&6&lPremiumKey" with lore "&7Otwiera PremiumCase'a" in inventory:             cancel event             remove chest named "&6&lPremiumCase" with lore "&7By otworzyc musisz miec klucz!" from player's inventory             remove tripwire hook named "&6&lPremiumKey" with lore "&7Otwiera PremiumCase'a" from player's inventory             set {i} to 0             open chest with 3 rows named "&6&lPremiumCase" to player             wait 1 tick             loop 9 times:                 format slot {i} of player with stained glass pane:15 named " " to be unstealable                 add 1 to {i}             format slot {i} of player with stained glass pane:15 named " " to be unstealable             format slot 10 of player with stained glass pane:7 named " " to be unstealable             format slot 11 of player with stained glass pane:7 named " " to be unstealable             format slot 15 of player with stained glass pane:7 named " " to be unstealable             format slot 16 of player with stained glass pane:7 named " " to be unstealable             format slot 17 of player with stained glass pane:15 named " " to be unstealable             set {i} to 18             loop 9 times:                 format slot {i} of player with stained glass pane:15 named " " to be unstealable                 add 1 to {i}             loop 1 times:                 set {d} to true                 wait 1 tick                 format slot 12 of player with diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3" to be unstealable                 wait 1 tick                 format slot 12 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3" to be unstealable                 wait 1 tick                 format slot 12 of player with diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3" to be unstealable                 wait 1 tick                 format slot 12 of player with diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3" to be unstealable                 wait 1 tick                 format slot 12 of player with wool:14 named "&cPusto..." to be unstealable                 wait 1 tick                 chance of 60%:                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3" to be unstealable                             give player diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3"                             set {w1} to "&6&lHelm 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3" to be unstealable                             give player diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3"                             set {w1} to "&6&lKlata 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3" to be unstealable                             give player diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3"                             set {w1} to "&6&lSpodnie 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3" to be unstealable                             give player diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3"                             set {w1} to "&6&lButy 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with wool:14 named "&cPusto" to be unstealable                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond pickaxe of efficiency 4 and unbreaking 3 named "&6&lKilof 4/3" to be unstealable                             give player diamond pickaxe of efficiency 4 and unbreaking 3 named "&6&lKilof 4/3"                             set {w1} to "&6&lKilof 4/3"                     wait 1 tick                 wait 2 ticks                 chance of 30%:                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond helmet of protection 5 and unbreaking 4 named "&d&lHelm 5/4" to be unstealable                             give player diamond helmet of protection 5 and unbreaking 4 named "&d&lHelm 5/4"                             set {w1} to "&d&lHelm 5/4"                         wait 1 tick                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond chestplate of protection 5 and unbreaking 4 named "&d&lKlata 5/4" to be unstealable                             give player diamond chestplate of protection 5 and unbreaking 4 named "&d&lKlata 5/4"                             set {w1} to "&d&lKlata 5/4"                         wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond leggings of protection 5 and unbreaking 4 named "&d&lSpodnie 5/4" to be unstealable                             give player diamond leggings of protection 5 and unbreaking 4 named "&d&lSpodnie 5/4"                             set {w1} to "&d&lSpodnie 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond boots of protection 5 and unbreaking 4 named "&d&lButy 5/4" to be unstealable                             give player diamond boots of protection 5 and unbreaking 4 named "&d&lButy 5/4"                             set {w1} to "&d&lButy 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond sword of sharpness 5 and unbreaking 3 named "&d&lMiecz 5/3" to be unstealable                             give player diamond sword of sharpness 5 and unbreaking 3 named "&d&lMiecz 5/3"                             set {w1} to "&d&lMiecz 5/3"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 12 of player with diamond pickaxe of efficiency 5 and unbreaking 3 named "&d&lKilof 5/3" to be unstealable                             give player diamond pickaxe of efficiency 5 and unbreaking 3 named "&d&lKilof 5/3"                             set {w1} to "&d&lKilof 5/3"                 wait 1 tick                 chance of 10%:                     wait 1 tick                     chance of 5%:                         if {d} is true:                             format slot 12 of player with diamond helmet of protection 6 and unbreaking 4 named "&5&lHelm 6/4" to be unstealable                             give player diamond helmet of protection 6 and unbreaking 4 named "&5&lHelm 6/4"                             set {d} to false                             set {w1} to "&5&lHelm 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             format slot 12 of player with diamond chestplate of protection 6 and unbreaking 4 named "&5&lKlata 6/4" to be unstealable                             give player diamond chestplate of protection 6 and unbreaking 4 named "&5&lKlata 6/4"                             set {d} to false                             set {w1} to "&5&lKlata 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             format slot 12 of player with diamond leggings of protection 6 and unbreaking 4 named "&5&lSpodnie 6/4" to be unstealable                             give player diamond leggings of protection 6 and unbreaking 4 named "&5&lSpodnie 6/4"                             set {d} to false                             set {w1} to "&5&lSpodnie 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             format slot 12 of player with diamond boots of protection 6 and unbreaking 4 named "&5&lButy 6/4" to be unstealable                             give player diamond boots of protection 6 and unbreaking 4 named "&5&lButy 6/4"                             set {d} to false                             set {w1} to "&5&lButy 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             format slot 12 of player with diamond sword of sharpness 6 and unbreaking 3 named "&5&lMiecz 6/3" to be unstealable                             give player diamond sword of sharpness 6 and unbreaking 3 named "&5&lMiecz 6/3"                             set {d} to false                             set {w1} to "&5&lMiecz 6/3"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             format slot 12 of player with diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3" to be unstealable                             give player diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3"                             set {d} to false                             set {w1} to "&5&lKilof 6/3"                 wait 1 tick                 chance of 50%:                     chance of 50%:                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 16 times:                                     set {d} to false                                     format slot 12 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w1} to "&6&l16 Refow"                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 8 times:                                     set {d} to false                                     format slot 12 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w1} to "&6&l8 Refow"                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 4 times:                                     set {d} to false                                     format slot 12 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w1} to "&6&l4 Refy"                     wait 1 tick                     chance of 20%:                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 16 times:                                     set {d} to false                                     format slot 12 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w1} to "&6&l16 Koxow"                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 8 times:                                     set {d} to false                                     format slot 12 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w1} to "&6&l8 Koxow"                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 4 times:                                     set {d} to false                                     format slot 12 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w1} to "&6&l4 Koxy"             wait 1 tick             loop 1 times:                 set {d} to true                 wait 1 tick                 format slot 13 of player with diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3" to be unstealable                 wait 1 tick                 format slot 13 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3" to be unstealable                 wait 1 tick                 format slot 13 of player with diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3" to be unstealable                 wait 1 tick                 format slot 13 of player with diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3" to be unstealable                 wait 1 tick                 format slot 13 of player with wool:14 named "&cPusto..." to be unstealable                 wait 1 tick                 chance of 60%:                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3" to be unstealable                             give player diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3"                             set {w2} to "&6&lHelm 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3" to be unstealable                             give player diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3"                             set {w2} to "&6&lKlata 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3" to be unstealable                             give player diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3"                             set {w2} to "&6&lSpodnie 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3" to be unstealable                             give player diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3"                             set {w2} to "&6&lButy 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with wool:14 named "&cPusto..." to be unstealable                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond pickaxe of efficiency 4 and unbreaking 3 named "&6&lKilof 4/3" to be unstealable                             give player diamond pickaxe of efficiency 4 and unbreaking 3 named "&6&lKilof 4/3"                             set {w2} to "&6&lKilof 4/3"                 wait 1 tick                 chance of 30%:                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond helmet of protection 5 and unbreaking 4 named "&d&lHelm 5/4" to be unstealable                             give player diamond helmet of protection 5 and unbreaking 4 named "&d&lHelm 5/4"                             set {w2} to "&d&lHelm 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond chestplate of protection 5 and unbreaking 4 named "&d&lKlata 5/4" to be unstealable                             give player diamond chestplate of protection 5 and unbreaking 4 named "&d&lKlata 5/4"                             set {w2} to "&d&lKlata 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond leggings of protection 5 and unbreaking 4 named "&d&lSpodnie 5/4" to be unstealable                             give player diamond leggings of protection 5 and unbreaking 4 named "&d&lSpodnie 5/4"                             set {w2} to "&d&lSpodnie 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond boots of protection 5 and unbreaking 4 named "&d&lButy 5/4" to be unstealable                             give player diamond boots of protection 5 and unbreaking 4 named "&d&lButy 5/4"                             set {w2} to "&d&lButy 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond sword of sharpness 5 and unbreaking 3 named "&d&lMiecz 5/3" to be unstealable                             give player diamond sword of sharpness 5 and unbreaking 3 named "&d&lMiecz 5/3"                             set {w2} to "&d&lMiecz 5/3"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond pickaxe of efficiency 5 and unbreaking 3 named "&d&lKilof 5/3" to be unstealable                             give player diamond pickaxe of efficiency 5 and unbreaking 3 named "&d&lKilof 5/3"                             set {w2} to "&d&lKilof 5/3"                 wait 1 tick                 chance of 10%:                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond helmet of protection 6 and unbreaking 4 named "&5&lHelm 6/4" to be unstealable                             give player diamond helmet of protection 6 and unbreaking 4 named "&5&lHelm 6/4"                             set {w2} to "&5&lHelm 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond chestplate of protection 6 and unbreaking 4 named "&5&lKlata 6/4" to be unstealable                             give player diamond chestplate of protection 6 and unbreaking 4 named "&5&lKlata 6/4"                             set {w2} to "&5&lKlata 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond leggings of protection 6 and unbreaking 4 named "&5&lSpodnie 6/4" to be unstealable                             give player diamond leggings of protection 6 and unbreaking 4 named "&5&lSpodnie 6/4"                             set {w2} to "&5&lSpodnie 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond boots of protection 6 and unbreaking 4 named "&5&lButy 6/4" to be unstealable                             give player diamond boots of protection 6 and unbreaking 4 named "&5&lButy 6/4"                             set {w2} to "&5&lButy 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond sword of sharpness 6 and unbreaking 3 named "&5&lMiecz 6/3" to be unstealable                             give player diamond sword of sharpness 6 and unbreaking 3 named "&5&lMiecz 6/3"                             set {w2} to "&5&lMiecz 6/3"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 13 of player with diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3" to be unstealable                             give player diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3"                             set {w2} to "&5&lKilof 6/3"                 wait 1 tick                 chance of 50%:                     chance of 50%:                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 16 times:                                     set {d} to false                                     format slot 13 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w2} to "&6&l16 Refow"                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 8 times:                                     set {d} to false                                     format slot 13 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w2} to "&6&l8 Refow"                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 4 times:                                     set {d} to false                                     format slot 13 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w2} to "&6&l4 Refy"                     wait 1 tick                     chance of 20%:                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 16 times:                                     set {d} to false                                     format slot 13 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w2} to "&6&l16 Koxow"                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 8 times:                                     set {d} to false                                     format slot 13 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w2} to "&6&l8 Koxow"                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 4 times:                                     set {d} to false                                     format slot 13 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w2} to "&6&l4 Koxy"             wait 1 tick             loop 1 times:                 set {d} to true                 wait 1 tick                 format slot 14 of player with diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3" to be unstealable                 wait 1 tick                 format slot 14 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3" to be unstealable                 wait 1 tick                 format slot 14 of player with diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3" to be unstealable                 wait 1 tick                 format slot 14 of player with diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3" to be unstealable                 wait 1 tick                 format slot 14 of player with wool:14 named "&cPusto..." to be unstealable                 wait 1 tick                 chance of 60%:                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3" to be unstealable                             give player diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3"                             set {w3} to "&6&lHelm 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3" to be unstealable                             give player diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3"                             set {w3} to "&6&lKlata 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3" to be unstealable                             give player diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3"                             set {w3} to "&6&lSpodnie 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3" to be unstealable                             give player diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3"                             set {w3} to "&6&lButy 4/3"                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with wool:14 named "&cPusto..." to be unstealable                     wait 1 tick                     chance of 10%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond pickaxe of efficiency 4 and unbreaking 3 named "&6&lKilof 4/3" to be unstealable                             give player diamond pickaxe of efficiency 4 and unbreaking 3 named "&6&lKilof 4/3"                             set {w3} to "&6&lKilof 4/3"                 wait 1 tick                 chance of 30%:                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond helmet of protection 5 and unbreaking 4 named "&d&lHelm 5/4" to be unstealable                             give player diamond helmet of protection 5 and unbreaking 4 named "&d&lHelm 5/4"                             set {w3} to "&d&lHelm 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond chestplate of protection 5 and unbreaking 4 named "&d&lKlata 5/4" to be unstealable                             give player diamond chestplate of protection 5 and unbreaking 4 named "&d&lKlata 5/4"                             set {w3} to "&d&lKlata 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond leggings of protection 5 and unbreaking 4 named "&d&lSpodnie 5/4" to be unstealable                             give player diamond leggings of protection 5 and unbreaking 4 named "&d&lSpodnie 5/4"                             set {w3} to "&d&lSpodnie 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond boots of protection 5 and unbreaking 4 named "&d&lButy 5/4" to be unstealable                             give player diamond boots of protection 5 and unbreaking 4 named "&d&lButy 5/4"                             set {w3} to "&d&lButy 5/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond sword of sharpness 5 and unbreaking 3 named "&d&lMiecz 5/3" to be unstealable                             give player diamond sword of sharpness 5 and unbreaking 3 named "&d&lMiecz 5/3"                             set {w3} to "&d&lMiecz 5/3"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond pickaxe of efficiency 5 and unbreaking 3 named "&d&lKilof 5/3" to be unstealable                             give player diamond pickaxe of efficiency 5 and unbreaking 3 named "&d&lKilof 5/3"                             set {w3} to "&d&lKilof 5/3"                 wait 1 tick                 chance of 10%:                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond helmet of protection 6 and unbreaking 4 named "&5&lHelm 6/4" to be unstealable                             give player diamond helmet of protection 6 and unbreaking 4 named "&5&lHelm 6/4"                             set {w3} to "&5&lHelm 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond chestplate of protection 6 and unbreaking 4 named "&5&lKlata 6/4" to be unstealable                             give player diamond chestplate of protection 6 and unbreaking 4 named "&5&lKlata 6/4"                             set {w3} to "&5&lKlata 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond leggings of protection 6 and unbreaking 4 named "&5&lSpodnie 6/4" to be unstealable                             give player diamond leggings of protection 6 and unbreaking 4 named "&5&lSpodnie 6/4"                             set {w3} to "&5&lSpodnie 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond boots of protection 6 and unbreaking 4 named "&5&lButy 6/4" to be unstealable                             give player diamond boots of protection 6 and unbreaking 4 named "&5&lButy 6/4"                             set {w3} to "&5&lButy 6/4"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond sword of sharpness 6 and unbreaking 3 named "&5&lMiecz 6/3" to be unstealable                             give player diamond sword of sharpness 6 and unbreaking 3 named "&5&lMiecz 6/3"                             set {w3} to "&5&lMiecz 6/3"                     wait 1 tick                     chance of 5%:                         if {d} is true:                             set {d} to false                             format slot 14 of player with diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3" to be unstealable                             give player diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3"                             set {w3} to "&5&lKilof 6/3"                 wait 1 tick                 chance of 50%:                     chance of 50%:                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 16 times:                                     set {d} to false                                     format slot 14 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w3} to "&6&l16 Refow"                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 8 times:                                     set {d} to false                                     format slot 14 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w3} to "&6&l8 Refow"                         wait 1 tick                         chance of 25%:                             if {d} is true:                                 loop 4 times:                                     set {d} to false                                     format slot 14 of player with golden apple named "&e&lRef" to be unstealable                                     give player golden apple:0 named "&e&lRef"                                     set {w3} to "&6&l4 Refy"                     wait 1 tick                     chance of 20%:                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 16 times:                                     set {d} to false                                     format slot 14 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w3} to "&6&l16 Koxow"                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 8 times:                                     set {d} to false                                     format slot 14 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w3} to "&6&l8 Koxow"                         wait 1 tick                         chance of 5%:                             if {d} is true:                                 loop 4 times:                                     set {d} to false                                     format slot 14 of player with enchanted golden apple named "&e&lKox" to be unstealable                                     give player golden apple:1 named "&e&lKox"                                     set {w3} to "&6&l4 Koxy"         else:             cancel event             send "&cNie masz klucza!" to player             stop command /premiumcase []:     aliases: pc     trigger:         open chest with 6 rows named "&8&lDrop z PremiumCase" to player         set {i} to 0         wait 1 tick         loop 9 times:             format slot {i} of player with stained glass pane:15 named " " to be unstealable             add 1 to {i}         format slot 9 of player with stained glass pane:15 named " " to be unstealable         format slot 17 of player with stained glass pane:15 named " " to be unstealable         format slot 18 of player with stained glass pane:15 named " " to be unstealable         format slot 26 of player with stained glass pane:15 named " " to be unstealable         format slot 27 of player with stained glass pane:15 named " " to be unstealable         format slot 35 of player with stained glass pane:15 named " " to be unstealable         format slot 36 of player with stained glass pane:15 named " " to be unstealable         format slot 44 of player with stained glass pane:15 named " " to be unstealable         set {i} to 45         wait 1 tick         loop 9 times:             format slot {i} of player with stained glass pane:15 named " " to be unstealable             add 1 to {i}         format slot 10 of player with diamond sword of sharpness 4 and unbreaking 3 named "&6&lMiecz 4/3" to be unstealable         format slot 11 of player with diamond pickaxe of efficiency 4 and unbreaking 3 named "&6&lKilof 4/3" to be unstealable         format slot 12 of player with 4 golden apple:0 named "&e&lRef" to be unstealable         format slot 13 of player with diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3" to be unstealable         format slot 14 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3" to be unstealable         format slot 15 of player with diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3" to be unstealable         format slot 16 of player with diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3" to be unstealable         format slot 19 of player with diamond sword of sharpness 5 and unbreaking 3 named "&d&lMiecz 5/3" to be unstealable         format slot 20 of player with diamond pickaxe of efficiency 5 and unbreaking 3 named "&d&lKilof 5/3" to be unstealable         format slot 21 of player with 8 golden apple:0 named "&e&lRef" to be unstealable         format slot 22 of player with diamond helmet of protection 5 and unbreaking 4 named "&d&lHelm 5/4" to be unstealable         format slot 23 of player with diamond chestplate of protection 5 and unbreaking 4 named "&d&lKlata 5/4" to be unstealable         format slot 24 of player with diamond leggings of protection 5 and unbreaking 4 named "&d&lSpodnie 5/4" to be unstealable         format slot 25 of player with diamond boots of protection 5 and unbreaking 4 named "&d&lButy 5/4" to be unstealable         format slot 28 of player with diamond sword of sharpness 6 and unbreaking 3 named "&5&lMiecz 6/3" to be unstealable         format slot 29 of player with diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3" to be unstealable         format slot 30 of player with 16 golden apple:0 named "&e&lRef" to be unstealable         format slot 31 of player with diamond helmet of protection 6 and unbreaking 4 named "&5&lHelm 6/4" to be unstealable         format slot 32 of player with diamond chestplate of protection 6 and unbreaking 4 named "&5&lKlata 6/4" to be unstealable         format slot 33 of player with diamond leggings of protection 6 and unbreaking 4 named "&5&lSpodnie 6/4" to be unstealable         format slot 34 of player with diamond boots of protection 6 and unbreaking 4 named "&5&lButy 6/4" to be unstealable         format slot 37 of player with stained glass pane:7 named " " to be unstealable         format slot 38 of player with stained glass pane:7 named " " to be unstealable         format slot 39 of player with 4 golden apple:1 named "&e&lKox" to be unstealable         format slot 40 of player with 8 golden apple:1 named "&e&lKox" to be unstealable         format slot 41 of player with 16 golden apple:1 named "&e&lKox" to be unstealable         format slot 42 of player with stained glass pane:7 named " " to be unstealable         format slot 43 of player with stained glass pane:7 named " " to be unstealable on left click:     if player's tool is chest named "&6&lPremiumCase" with lore "&7By otworzyc musisz miec klucz!":         open chest with 6 rows named "&8&lDrop z PremiumCase" to player         set {i} to 0         wait 1 tick         loop 9 times:             format slot {i} of player with stained glass pane:15 named " " to be unstealable             add 1 to {i}         format slot 9 of player with stained glass pane:15 named " " to be unstealable         format slot 17 of player with stained glass pane:15 named " " to be unstealable         format slot 18 of player with stained glass pane:15 named " " to be unstealable         format slot 26 of player with stained glass pane:15 named " " to be unstealable         format slot 27 of player with stained glass pane:15 named " " to be unstealable         format slot 35 of player with stained glass pane:15 named " " to be unstealable         format slot 36 of player with stained glass pane:15 named " " to be unstealable         format slot 44 of player with stained glass pane:15 named " " to be unstealable         set {i} to 45         wait 1 tick         loop 9 times:             format slot {i} of player with stained glass pane:15 named " " to be unstealable             add 1 to {i}         format slot 10 of player with diamond sword of sharpness 4 and unbreaking 3 named "&6&lMiecz 4/3" to be unstealable         format slot 11 of player with diamond pickaxe of efficiency 4 and unbreaking 3 named "&6&lKilof 4/3" to be unstealable         format slot 12 of player with 4 golden apple:0 named "&e&lRef" to be unstealable         format slot 13 of player with diamond helmet of protection 4 and unbreaking 3 named "&6&lHelm 4/3" to be unstealable         format slot 14 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6&lKlata 4/3" to be unstealable         format slot 15 of player with diamond leggings of protection 4 and unbreaking 3 named "&6&lSpodnie 4/3" to be unstealable         format slot 16 of player with diamond boots of protection 4 and unbreaking 3 named "&6&lButy 4/3" to be unstealable         format slot 19 of player with diamond sword of sharpness 5 and unbreaking 3 named "&d&lMiecz 5/3" to be unstealable         format slot 20 of player with diamond pickaxe of efficiency 5 and unbreaking 3 named "&d&lKilof 5/3" to be unstealable         format slot 21 of player with 8 golden apple:0 named "&e&lRef" to be unstealable         format slot 22 of player with diamond helmet of protection 5 and unbreaking 4 named "&d&lHelm 5/4" to be unstealable         format slot 23 of player with diamond chestplate of protection 5 and unbreaking 4 named "&d&lKlata 5/4" to be unstealable         format slot 24 of player with diamond leggings of protection 5 and unbreaking 4 named "&d&lSpodnie 5/4" to be unstealable         format slot 25 of player with diamond boots of protection 5 and unbreaking 4 named "&d&lButy 5/4" to be unstealable         format slot 28 of player with diamond sword of sharpness 6 and unbreaking 3 named "&5&lMiecz 6/3" to be unstealable         format slot 29 of player with diamond pickaxe of efficiency 6 and unbreaking 3 named "&5&lKilof 6/3" to be unstealable         format slot 30 of player with 16 golden apple:0 named "&e&lRef" to be unstealable         format slot 31 of player with diamond helmet of protection 6 and unbreaking 4 named "&5&lHelm 6/4" to be unstealable         format slot 32 of player with diamond chestplate of protection 6 and unbreaking 4 named "&5&lKlata 6/4" to be unstealable         format slot 33 of player with diamond leggings of protection 6 and unbreaking 4 named "&5&lSpodnie 6/4" to be unstealable         format slot 34 of player with diamond boots of protection 6 and unbreaking 4 named "&5&lButy 6/4" to be unstealable         format slot 37 of player with stained glass pane:7 named " " to be unstealable         format slot 38 of player with stained glass pane:7 named " " to be unstealable         format slot 39 of player with 4 golden apple:1 named "&e&lKox" to be unstealable         format slot 40 of player with 8 golden apple:1 named "&e&lKox" to be unstealable         format slot 41 of player with 16 golden apple:1 named "&e&lKox" to be unstealable         format slot 42 of player with stained glass pane:7 named " " to be unstealable         format slot 43 of player with stained glass pane:7 named " " to be unstealable