command /efekty []: aliases: efekt, e trigger: open chest with 5 rows named "&7" to player wait 3 ticks loop 44 times: format slot loop-number of player with light gray glass named "&7" to be unstealable format slot 0 of player with light gray glass named "&7" to be unstealable format slot 10 of player with 1 stone pickaxe named "&8>> &c&lHaste I &8<<" with lore " &8» &cCzas trwania&7: 5 minut|| &8»&c Koszt&7: 20 szmaragdow" to close then run [make player execute command "/eshop haste1"] format slot 12 of player with 1 sugar named "&8>> &c&lSpeed I &8<<" with lore " &8» &cCzas trwania&7: 2 minuty|| &8»&c Koszt&7: 32 szmaragdy" to close then run [make player execute command "/eshop speed1"] format slot 14 of player with 1 stone sword named "&8>> &c&lStrength I &8<<" with lore " &8» &cCzas trwania&7: 2 minuty|| &8»&c Koszt&7: 64 szmaragdy" to close then run [make player execute command "/eshop strength1"] format slot 16 of player with 1 nether star named "&8>> &c&lJump Boost I &8<<" with lore " &8» &cCzas trwania&7: 3 minuty|| &8» &cKoszt&7: 64 szmaragdy" to close then run [make player execute command "/eshop jumpboost1"] format slot 19 of player with 2 iron pickaxe named "&8>> &c&lHaste II &8<<" with lore " &8» &cCzas trwania&7: 3 minuty|| &8» &cKoszt&7: 32 szmaragdy" to close then run [make player execute command "/eshop haste2"] format slot 21 of player with 2 sugar named "&8>> &c&lSpeed II &8<<" with lore "&8 » &cCzas trwania&7: 2 minuty||&8 » &cKoszt&7: 48 szmaragdow" to close then run [make player execute command "/eshop speed2"] format slot 25 of player with 2 nether star named "&8>> &c&lJump Boost II &8<<" with lore "&8 » &cCzas trwania&7: 2 minuty||&8 » &cKoszt&7: 80 szmaragdow" to close then run [make player execute command "/eshop jumpboost2"] format slot 28 of player with 3 diamond pickaxe named "&8>> &c&lHaste III &8<<" with lore "&8 » &cCzas trwania&7: 3 minuty||&8 » &cKoszt&7: 64 szmaragdy" to close then run [make player execute command "/eshop haste3"] command /eshop []: trigger: if arg 1 is "haste1": if player don't have 20 emerald: send "&6&lEFEKTY &8» &aNie posiadasz wystarczajaco duzo szmaragdow!" stop else: remove 20 emerald from player send "&6&lEFEKTY &8» &aKupiles efekt &c&lHaste I" apply potion of haste of tier 1 to the player for 5 minutes stop if arg 1 is "haste2": if player don't have 32 emerald: send "&6&lEFEKTY &8» &aNie posiadasz wystarczajaco duzo szmaragdow!" stop else: remove 32 emerald from player send "&6&lEFEKTY &8» &aKupiles efekt &c&lHaste II" apply potion of haste of tier 2 to the player for 3 minutes stop if arg 1 is "haste3": if player don't have 64 emerald: send "&6&lEFEKTY &8» &aNie posiadasz wystarczajaco duzo szmaragdow!" stop else: remove 64 emerald from player send "&6&lEFEKTY &8» &aKupiles efekt &c&lHaste III" apply potion of haste of tier 3 to the player for 3 minutes stop if arg 1 is "speed1": if player don't have 32 emerald: send "&6&lEFEKTY &8» &aNie posiadasz wystarczajaco duzo szmaragdow!" stop else: remove 64 emerald from player send "&6&lEFEKTY &8» &aKupiles efekt &c&lSpeed I" apply potion of speed of tier 1 to the player for 2 minutes stop if arg 1 is "speed2": if player don't have 48 emerald: send "&6&lEFEKTY &8» &aNie posiadasz wystarczajaco duzo szmaragdow!" stop else: remove 48 emerald from player send "&6&lEFEKTY &8» &aKupiles efekt &c&lSpeed II" apply potion of speed of tier 2 to the player for 2 minutes stop if arg 1 is "strength1": if player don't have 48 emerald: send "&6&lEFEKTY &8» &aNie posiadasz wystarczajaco duzo szmaragdow!" stop else: remove 64 emerald from player send "&6&lEFEKTY &8» &aKupiles efekt &c&lStrength I" apply potion of strength of tier 1 to the player for 2 minutes stop if arg 1 is "jumpboost1": if player don't have 64 emerald: send "&6&lEFEKTY &8» &aNie posiadasz wystarczajaco duzo szmaragdow!" stop else: remove 64 emerald from player send "&6&lEFEKTY &8» &aKupiles &c&lJump Boost I" apply potion of jump boost of tier 1 to the player for 3 minutes stop if arg 1 is "jumpboost2": if player don't have 80 emerald: send "&6&lEFEKTY &8» &aNie posiadasz wystarczajaco duzo szmaragdow!" stop else: remove 80 emerald from player send "&6&lEFEKTY &8» &aKupiles &c&lJump Boost II" apply potion of jump boost of tier 2 to the player for 2 minutes