command /ranga []: trigger: open chest with 1 row named "&6Wybierz range:" to player wait 1 tick format slot 0 of player with 1 of stone named "&5VIP" with lore "&7&nKliknij, aby wybrac range &5VIP" to close then run "wyborvip %player%" format slot 1 of player with 1 of stone named "&6SVIP" with lore "&7&nKliknij, aby wybrac range &6SVIP" to close then run "wyborvsip %player%" stop command /wyborvip []: trigger: if player's balance is smaller than 200: send "&7[&5SKLEP&7] &7Masz za malo srodkow, by kupic ta usulge" else: open chest with 1 row named "&5Potwierdzenie zakupu" to player wait 1 tick format slot 0 of player with 1 stained_glass_pane:14 named "&4ANULUJ!" with lore "&c&nKliknij, aby anulowac zakup!" to close format slot 1 of player with 1 stained_glass_pane:5 named "&2POTWIERDZAM!" with lore "&a&nKliknij, aby potwierdzic zakup! to close then run "kupnovip %player%" execute console command "eco take %player% 200" stop command /wyborsvip []: trigger: if player's balance is smaller than 500: send "&7[&5SKLEP&7] &7Masz za malo srodkow, by kupic ta usulge" else: open chest with 1 row named "&5Potwierdzenie zakupu" to player wait 1 tick format slot 0 of player with 1 stained_glass_pane:14 named "&4ANULUJ!" with lore "&c&nKliknij, aby anulowac zakup!" to close format slot 1 of player with 1 stained_glass_pane:5 named "&2POTWIERDZAM!" with lore "&a&nKliknij, aby potwierdzic zakup! to close then run "kupnosvip %player%" execute console command "eco take %player% 500" stop command /kupnovip []: trigger: open chest with 1 row named "&5CZAS RANGI" to player wait 1 tick format slot 0 of player with 1 of stone named "&57DNI" to close then run "vip7d %player%" format slot 0 of player with 1 of stone named "&530DNI" to close then run "vip30d %player%" stop command /kupnosvip []: trigger: open chest with 1 row named "&5CZAS RANGI" to player wait 1 tick format slot 0 of player with 1 of stone named "&57DNI" to close then run "svip7d %player%" format slot 0 of player with 1 of stone named "&530DNI" to close then run "svip30d %player%" stop command /vip7d [] trigger: execute console command "pex user %player% group set VIP * 7d" broadcast "&7%player% kupil vipa na 7 dni!" stop command /vip30d [] trigger: execute console command "pex user %player% group set VIP * 30d" broadcast "&7%player% kupil vipa na 7 dni!" stop command /svip7d [] trigger: execute console command "pex user %player% group set SVIP * 7d" broadcast "&7%player% kupil svipa na 7 dni!" stop command /svip30d [] trigger: execute console command "pex user %player% group set SVIP * 30d" broadcast "&7%player% kupil vipa na 7 dni!" stop