command /skrzynia-daj []: permission: skrzynia.adm permission message: &cTa komenda nie istnieje! trigger: give player 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." stop on rightclick with chest: if name of player's tool is "&3&lSkrzynia Permisji": if lore of player's tool is "&7&oPowodzenia.": open chest with 1 row named "&3Losowanie..." to player wait 5 ticks format slot 0 of player with 1 of gray glass pane named " " to close format slot 1 of player with 1 of gray glass pane named " " to close format slot 2 of player with 1 of gray glass pane named " " to close format slot 3 of player with 1 of gray glass pane named " " to close format slot 4 of player with 1 of paper named "&3Losowanie..." to close format slot 5 of player with 1 of gray glass pane named " " to close format slot 6 of player with 1 of gray glass pane named " " to close format slot 7 of player with 1 of gray glass pane named " " to close format slot 8 of player with 1 of gray glass pane named " " to close wait 1 second chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.1" send "&aWylosowano: &3&lPERMISJA 1" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.2" send "&aWylosowano: &3&lPERMISJA 2" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.3" send "&aWylosowano: &3&lPERMISJA 3" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.4" send "&aWylosowano: &3&lPERMISJA 4" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.5" send "&aWylosowano: &3&lPERMISJA 5" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.6" send "&aWylosowano: &3&lPERMISJA 6" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.7" send "&aWylosowano: &3&lPERMISJA 7" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.8" send "&aWylosowano: &3&lPERMISJA 8" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.9" send "&aWylosowano: &3&lPERMISJA 9" stop chance of 10%: remove 1 chest named "&3&lSkrzynia Permisji" with lore "&7&oPowodzenia." from player's inventory execute console command "/pex user %player% add permisja.10" send "&aWylosowano: &3&lPERMISJA 10" stop