command /efekt: trigger: open chest with 3 rows named "&8[]&6Sklep z efektami" to player wait 1 ticks format slot 0 of player with 1 of 35:14 named "&2Sila I" with lore "&7Koszt:&6 64 emeraldy||&7Czas:&6 5 minut" to run [make player execute "ieffect KupSileI"] format slot 9 of player with 1 of 35:14 named "&2Sila I" with lore "&7Koszt:&6 96 emeraldow||&7Czas:&6 10 minut" to run [make player execute "ieffect KupSilkeI"] format slot 18 of player with 1 of 35:14 named "&2Sila I" with lore "&7Koszt:&6 128 emeraldow||&7Czas:&6 15 minut" to run [make player execute "ieffect KupSilkeIa"] format slot 2 of player with 1 of 35:5 named "&2Szybkosc I" with lore "&7Koszt:&6 32 emeraldy||&7Czas:&6 10 minut" to run [make player execute "ieffect KupSpeedI"] format slot 11 of player with 1 of 35:5 named "&2Szybkosc II" with lore "&7Koszt:&6 64 emeraldow||&7Czas:&6 5 minut" to run [make player execute "ieffect KupSpeedII"] format slot 20 of player with 1 of 35:5 named "&2Szybkosc II" with lore "&7Koszt:&6 96 emeraldow||&7Czas:&6 10 minut" to run [make player execute "ieffect KupSpeedIIa"] format slot 4 of player with 1 of 35:3 named "&2Niewidzialnosc" with lore "&7Koszt:&6 32 emeraldy||&7Czas:&6 5 minut" to run [make player execute "ieffect KupNie"] format slot 13 of player with 1 of 35:3 named "&2Niewidzialnosc" with lore "&7Koszt:&6 64 emeraldow||&7Czas:&6 10 minut" to run [make player execute "ieffect KupNiew"] format slot 22 of player with 1 of 35:3 named "&2Niewidzialnosc" with lore "&7Koszt:&6 96 emeraldow||&7Czas:&6 15 minut" to run [make player execute "ieffect KupNiewa"] format slot 6 of player with 1 of 35:1 named "&2Widzenie w ciemnosci" with lore "&7Koszt:&6 32 emeraldy||&7Czas:&6 5 minut" to run [make player execute "ieffect KupWi"] format slot 15 of player with 1 of 35:1 named "&2Widzenie w ciemnosci" with lore "&7Koszt:&6 64 emeraldow||&7Czas:&6 10 minut" to run [make player execute "ieffect KupWidz"] format slot 24 of player with 1 of 35:1 named "&2Widzienie w ciemnosci" with lore "&7Koszt:&6 96 emeraldow||&7Czas:&6 15 minut" to run [make player execute "ieffect KupWidza"] format slot 8 of player with 1 of 35:4 named "&2Pospiech I" with lore "&7Koszt:&6 32 emeraldow||&7Czas:&6 5 minut" to run [make player execute "ieffect KupHastI"] format slot 17 of player with 1 of 35:4 named "&2Pospiech II" with lore "&7Koszt:&6 64 emeraldow||&7Czas:&6 5 minut" to run [make player execute "ieffect KupHastII"] format slot 26 of player with 1 of 35:4 named "&2Pospiech II" with lore "&7Koszt:&6 96 emeraldow||&7Czas:&6 10 minut" to run [make player execute "ieffect KupHastIIa"] # ----------------------------------------------------------------------------------------------------------- command /ieffect []: trigger: if arg-1 is "KupSileI": if player don't have 64 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 sila I na 5 minut" remove 64 388 from player remove strength from player apply strength potion of tier 1 to the player for 5 minutes if arg-1 is "KupSilkeI": if player don't have 96 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 sila I na 10 minut" remove 96 388 from player remove strength from player apply strength potion of tier 1 to the player for 10 minutes if arg-1 is "KupSilkeIa": if player don't have 128 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 sila I na 15 minut" remove 128 388 from player remove strength from player apply strength potion of tier 1 to the player for 15 minutes # ----------------------------------------------------------------------------------------------------------- if arg-1 is "KupSpeedI": if player don't have 32 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 szybkosc I na 5 minut" remove 32 388 from player remove speed from player apply speed potion of tier 1 to the player for 5 minutes if arg-1 is "KupSpeedII": if player don't have 64 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 szybkosc II na 5 minut" remove 64 388 from player remove speed from player apply speed potion of tier 2 to the player for 5 minutes if arg-1 is "KupSpeedIIa": if player don't have 96 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 szybkosc II na 15 minut" remove 96 388 from player remove speed from player apply speed potion of tier 2 to the player for 15 minutes # ----------------------------------------------------------------------------------------------------------- if arg-1 is "KupNie": if player don't have 32 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 niewidzialnosc na 5 minut" remove 32 388 from player remove invisibility from player apply invisibility potion of tier 1 to the player for 5 minutes if arg-1 is "KupNiew": if player don't have 64 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 niewidzialnosc na 10 minut" remove 64 388 from player remove invisibility from player apply invisibility potion of tier 1 to the player for 10 minutes if arg-1 is "KupNiewa": if player don't have 96 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 niewidzialnosc na 15 minut" remove 96 388 from player remove invisibility from player apply invisibility potion of tier 1 to the player for 15 minutes # ----------------------------------------------------------------------------------------------------------- if arg-1 is "KupWi": if player don't have 32 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 widzenie w ciemnosc na 5 minut" remove 32 388 from player remove night vision from player apply night vision potion of tier 1 to the player for 5 minutes if arg-1 is "KupWidz": if player don't have 64 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 widzenie w ciemnosc na 10 minut" remove 64 388 from player remove night vision from player apply night vision potion of tier 1 to the player for 10 minutes if arg-1 is "KupWidza": if player don't have 96 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 widzenie w ciemnosci na 15 minut" remove 96 388 from player remove night vision from player apply night vision potion of tier 1 to the player for 15 minutes # ----------------------------------------------------------------------------------------------------------- if arg-1 is "KupHastI": if player don't have 32 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 pospiech I na 5 minut" remove 32 388 from player remove haste from player apply haste potion of tier 1 to the player for 5 minutes if arg-1 is "KupHastII": if player don't have 64 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 pospiech II na 5 minut" remove 64 388 from player remove haste from player apply haste potion of tier 2 to the player for 5 minutes if arg-1 is "KupHastIIa": if player don't have 96 388: send "&8[&2Efekty&8]&7 Nie masz wystarczajacej ilosci itemow aby zakupic ten efekt" stop else: send "&8[&2Efekty&8]&7 Kupiles efekt&6 pospiech II na 10 minut" remove 96 388 from player remove haste from player apply haste potion of tier 2 to the player for 10 minutes # -----------------------------------------------------------------------------------------------------------