command /sklepzperm: trigger: open chest with 2 rows named "&6&lSKLEP Z PERMISJAM" to player wait 1 ticks format slot 0 of player with 1 of paper named "&6PERMISJA: Latanie" with lore "&4NIEODBLOKOWANE||&7Kup za 64 diamenty" to close then run [make player execute "psklep1"] if player has permissions "essentials.fly": format slot 0 of player with 1 of paper named "&6PERMISJA: Latanie" with lore "&2ODBLOKOWANE" to close format slot 1 of player with 1 of paper named "&6PERMISJA: Pisanie na kolorowo" with lore "&4NIEODBLOKOWANE||&7Kup za 64 diamenty" to close then run [make player execute "psklep2"] if player has permissions "essentials.chat.color": format slot 1 of player with 1 of paper named "&6PERMISJA: Pisanie na kolorowo" with lore "&2ODBLOKOWANE" to close format slot 2 of player with 1 of paper named "&6PERMISJA: Naprawianie Itemow" with lore "&4NIEODBLOKOWANE||&7Kup za 64 diamenty" to close then run [make player execute "psklep3"] if player has permissions "essentials.repair": format slot 2 of player with 1 of paper named "&6PERMISJA: Naprawianie Itemow" with lore "&2ODBLOKOWANE" to close #TEGO NIE USUWAC! format slot 17 of player with 1 of 137 named "&6NAPISANE PRZEZ: Untub3r" with lore "&7IP:&6Cake&eSV.PL" to close command /psklep1: trigger: if player don't have 64 diamond: send "&4&lNIE MASZ 64 DIAMENTOW!" stop else: remove 64 diamond from player execute console command "pex user %player% add essentials.fly" send "&2GRATULACJE ZAKUPILES &6PERMISJA: Latanie" stop command /psklep2: trigger: if player don't have 64 diamond: send "&4&lNIE MASZ 64 DIAMENTOW!" stop else: remove 64 diamond from player execute console command "pex user %player% add essentials.chat.color" send "&2GRATULACJE ZAKUPILES &6PERMISJA: Pisanie na kolorowo" stop command /psklep3: trigger: if player don't have 64 diamond: send "&4&lNIE MASZ 64 DIAMENTOW!" stop else: remove 64 diamond from player execute console command "pex user %player% add essentials.repair" send "&2GRATULACJE ZAKUPILES &6PERMISJA: Naprawianie Itemow" stop