Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /efekt:
- aliases: efekty, Efekt
- trigger:
- open chest with 2 rows named "&e&l&oMenu Efektow " to player
- wait 1 tick
- format slot 12 of player with 1 of beacon named "&7Efekt &bHaste" with lore "&7Czas : &a10 Minut||&7Koszt : &a70 &aEmeraldow" to close then run "efektadd %player% 3"
- wait 1 tick
- format slot 13 of player with 1 of sponge named "&7Efekt &eSkok V" with lore "&7Czas : &a20 &aSekund||&7Koszt : &a50 Emeraldow" to close then run "efektadd %player% 4"
- wait 1 tick
- format slot 14 of player with 1 of beacon named "&7Efekty &bHaste &fII" with lore "&aCzas &f&l: &810 &2Minut||&aKoszt &f&l: &a100 &2Emeraldow" to close then run "efektadd %player% 5"
- wait 1 tick
- format slot 0 of player with 1 of 373:8201 named "&7Potka na &cSile" with lore "&7Czas : &a1 Minuta||&7Koszt : &a45 Emeraldow" to close then run "efektadd %player% 1"
- wait 1 tick
- format slot 1 of player with 1 of 373:8233 named "&7Potka na &cSile &fII" with lore "&7Czas : &a1.5 Minuty||&7Koszt : &a60 Emeraldow" to close then run "efektadd %player% 2"
- wait 1 tick
- format slot 2 of player with 1 of 373:8193 named "&7Potka na &dRegeneracje" with lore "&7Czas : &a45 Sekund||&7Koszt : &a30 Emeraldow" to close then run "efektadd %player% 6"
- wait 1 tick
- format slot 3 of player with 1 of 373:8225 named "&7Potka na &dRegeneracje &fII" with lore "&7Czas : &a22 Sekundy||&7Koszt : &a35 Emeraldow" to close then run "efektadd %player% 7"
- wait 1 tick
- format slot 4 of player with 1 of 373:8194 named "&7Potka na &3Szybkosc" with lore "&7Czas : &a3 Minuty||&7Koszt : &a45 Emeraldow" to close then run "efektadd %player% 8"
- wait 1 tick
- format slot 5 of player with 1 of 373:8226 named "&7Potka na &3Szybkosc &fII" with lore "&7Czas : &a1.5 Minuty||&7Koszt : &a53 Emeraldow" to close then run "efektadd %player% 9"
- wait 1 tick
- format slot 6 of player with 1 of 373:8227 named "&7Potka na &6Odpornosc Przed ogniem" with lore "&7Czas : &a3 Minuty||&7Koszt : &a50 Emeraldow" to close then run "efektadd %player% 10"
- wait 1 tick
- format slot 7 of player with 1 of 373:8238 named "&7Potka na &bNiewidzialnosc" with lore "&7Czas : &a3 Minuty||&7Koszt : &a55 Emeraldow" to close then run "efektadd %player% 11"
- wait 1 tick
- command /efektadd [<player>] [<integer>]:
- executable by: console
- trigger:
- if arg 2 is 3:
- if player-arg has 70 emerald:
- subtract 70 emerald from player-arg's inventory
- apply Haste to the player-arg for 600 seconds
- send "&aOtrzymales &bHASTE &ana 10 Minut!" to player-arg
- else:
- send "&cNie posiadasz 70 Emeraldow!" to player-arg
- if arg 2 is 5:
- if player-arg has 100 emerald:
- subtract 100 emerald from player-arg's inventory
- apply Haste 2 to the player-arg for 600 seconds
- send "&aOtrzymales &bHASTE II &ana 10 Minut!" to player-arg
- else:
- send "&cNie posiadasz 100 Emeraldow!" to player-arg
- if arg 2 is 4:
- if player-arg has 50 emerald:
- subtract 50 emerald from player-arg's inventory
- apply Jump 5 to the player-arg for 10 seconds
- send "&aOtrzymales Efekt Potki na &eSkok V &7(5)" to player-arg
- else:
- send "&cNie posiadzasz 50 Emeraldow!!" to player-arg
- if arg 2 is 1:
- if player-arg has 45 emerald:
- subtract 45 emerald from player-arg's inventory
- apply Strength to the player-arg for 60 seconds
- send "Otrzymales Efekt Potki na &cSile" to player-arg
- else:
- send "&cNie posiadzasz 45 Emeraldow!!" to player-arg
- if arg 2 is 2:
- if player-arg has 60 emerald:
- subtract 60 emerald from player-arg's inventory
- apply Strength 2 to the player-arg for 90 seconds
- send "&aOtrzymales Efekty &cSily &fII" to player-arg
- else:
- send "&cNie posiadzasz 60 Emeraldow!!" to player-arg
- if arg 2 is 6:
- if player-arg has 30 emerald:
- subtract 30 emerald from player-arg's inventory
- apply regeneration to the player-arg for 45 seconds
- send "&aOtrzymales Efekt Potki na &dRegeneracje" to player-arg
- else:
- send "&cNie posiadzasz 30 Emeraldow!!" to player-arg
- if arg 2 is 7:
- if player-arg has 35 emerald:
- subtract 35 emerald from player-arg's inventory
- apply regeneration 2 to the player-arg for 22 seconds
- send "&aOtrzymales Efekt Potki na &dRegeneracje &fII" to player-arg
- else:
- send "&cNie posiadzasz 35 Emeraldow!!" to player-arg
- if arg 2 is 8:
- if player-arg has 45 emerald:
- subtract 45 emerald from player-arg's inventory
- apply speed to the player-arg for 180 seconds
- send "&aOtrzymales Efekt Potki na &bSzybkosc" to player-arg
- else:
- send "&cNie posiadzasz 45 Emeraldow!!" to player-arg
- if arg 2 is 9:
- if player-arg has 53 emerald:
- subtract 53 emerald from player-arg's inventory
- apply speed 2 to the player-arg for 90 seconds
- send "&aOtrzymales Efekt Potki na &bSzybkosc &fII" to player-arg
- else:
- send "&cNie posiadzasz 53 Emeraldow!!" to player-arg
- if arg 2 is 10:
- if player-arg has 50 emerald:
- subtract 50 emerald from player-arg's inventory
- apply fire resistance to the player-arg for 180 seconds
- send "&aOtrzymales Efekt Potki na &eOchrona Przed ogniem" to player-arg
- else:
- send "&cNie posiadzasz 50 Emeraldow!!" to player-arg
- if arg 2 is 11:
- if player-arg has 55 emerald:
- subtract 55 emerald from player-arg's inventory
- apply fire resistance to the player-arg for 180 seconds
- send "&aOtrzymales Efekt Potki na &bNiewidzialnosc" to player-arg
- else:
- send "&cNie posiadzasz 55 Emeraldow!!" to player-arg
Advertisement
Add Comment
Please, Sign In to add comment