command /efekty []: aliases: efekt trigger: if arg 1 is not set: open chest with 1 rows named "&6&lEfekty" to player format slot 7 of player with 1 of fire charge named "&c&lOdpornosc na Ogien &7( &a5m &7)" with lore "&aKliknij aby zakupic Odpornosc na Ogien Na 5 Minut.||&aKoszt &8= &a6 Blokow Zlota" to run [execute player command "Efekty FI"] format slot 6 of player with 2 of Rose red named "&c&lRegeneracja II &7( &a30s &7)" with lore "&aKliknij aby zakupic Regeneracje II Na 30 Sekund.||&aKoszt &8= &a16 Blokow Zlota" to run [execute player command "Efekty RII"] format slot 5 of player with 1 of Rose red named "&c&lRegeneracja I &7( &a30s &7)" with lore "&aKliknij aby zakupic Regeneracje I Na 30 Sekund.||&aKoszt &8= &a8 Blokow Zlota" to run [execute player command "Efekty RI"] format slot 4 of player with 2 of diamond sword named "&c&lSila II &7( &a2m &7)" with lore "&aKliknij aby zakupic Sile II Na 2 Minuty.||&aKoszt &8= &a32 Blokow Zlota" to run [execute player command "Efekty SII"] format slot 3 of player with 1 of diamond sword named "&c&lSila I &7( &a2m &7)" with lore "&aKliknij aby zakupic Sile I Na 2 Minuty.||&aKoszt &8= &a24 Blokow Zlota" to run [execute player command "Efekty SI"] format slot 2 of player with 3 of beacon named "&6&lHaste III &7( &a5m &7)" with lore "&aKliknij aby zakupic Pospiech III Na 5 Minut.||&aKoszt &8= &a48 Blokow Zlota" to run [execute player command "Efekty HIII"] format slot 1 of player with 2 of beacon named "&6&lHaste II &7( &a5m &7)" with lore "&aKliknij aby zakupic Pospiech II Na 5 Minut.||&aKoszt &8= &a16 Blokow Zlota" to run [execute player command "Efekty HII"] format slot 0 of player with 1 of beacon named "&6&lHaste I &7( &a5m &7)" with lore "&aKliknij aby zakupic Pospiech I Na 5 Minut.||&aKoszt &8= &a8 Blokow Zlota" to run [execute player command "Efekty HI"] if arg 1 is "FI": if player don't have 6 Gold Block: send "&4Nie masz 6x Blokow Zlota!!" else: remove 6 gold block from player remove Fire Resistance from player apply Fire Resistance potion of tier 1 to the player for 5 minutes broadcast "&2Efekt&7: &6%player% &fZakupil &6Odpornosc na Ogien &fna &65m" if arg 1 is "RI": if player don't have 8 Gold Block: send "&4Nie masz 8x Blokow Zlota!" else: remove 8 Gold block from player remove Regeneration from player apply Regeneration potion of tier 1 to the player for 30 second broadcast "&2Efekt&7: &6%player% &fZakupil &6Regeneracje I &fna &630s" if arg 1 is "RII": if player don't have 16 Gold Block: send "&4Nie masz 16x Blokow Zlota!" else: remove 16 Gold Block from player remove Regeneration from player apply Regeneration potion of tier 2 to the player for 30 second broadcast "&2Efekt&7: &6%player% &fZakupil &6Regeneracje II &fna &630s" if arg 1 is "SI": if player don't have 24 Gold Block: send "&4Nie masz 24x Blokow Zlota!" else: remove 24 Gold Block from player remove Strength from player apply strength potion of tier 1 to the player for 2 minutes broadcast "&2Efekt&7: &6%player% &fZakupil &6Sile 1 &fna &62m" if arg 1 is "SII": if player don't have 32 Gold Block: send "&4Nie masz 32x Blokow Zlota!" else: remove 32 gold block from player remove Strength from player apply strength potion of tier 2 to the player for 2 minutes broadcast "&2Efekt&7: &6%player% &fZakupil &6Sile 2 &fna &62m" if arg 1 is "HI": if player don't have 8 Gold Block: send "&4Nie masz 8x Blokow Zlota!" else: remove 8 gold block from player remove haste from player apply Haste potion of tier 1 to the player for 5 minutes broadcast "&2EEfekt&7: &6%player% &fZakupil &6Pospiech 1 &fna &65m" if arg 1 is "HII": if player don't have 16 Gold Block: send "&4Nie masz 16x Blokow Zlota!" else: remove 16 Gold Block from player remove haste from player apply Haste potion of tier 2 to the player for 5 minutes broadcast "&2Efekt&7: &6%player% &fZakupil &6Pospiech 2 &fna &65m" if arg 1 is "HIII": if player don't have 48 Gold Block: send "&4Nie masz 48 Blokow Zlota!" else: remove 48 gold block from player remove haste from player apply Haste potion of tier 3 to the player for 5 minutes broadcast "&2Efekt&7: &6%player% &fZakupil &6Pospiech 3 &fna &65m"