variables: {skill::%player%} = 0 on death of Cow or Chicken or Pig or Sheep or Villager or Cat or Dog: attacker is a player add 0.3 to {skill::%attacker%} stop on death of Enderman or Ghast or Creeper or Spider or Cave Spider or Blaze or Slime or Skeleton or Zombie or Bat or Witch or Zombie Pigman: attacker is a player add 0.5 to {skill::%attacker%} stop on death of player: attacker is a player add 0.7 to {skill::%attacker%} stop command /skill: trigger: send "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" send "&3/umiejetnosci -&2otwiera okno z opcjami dodawania umiejętności do postaci" send "&3/ilosc -&2wyświetla informacje o ilości punktów za zabicie danych mobów" send "&3/Sk.Autor -&2Informacje na temat autora" send "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" stop command /ilosc: trigger: send "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=" send "&7Moby pasyne - &21pkt nauki" send "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=" send "&7Moby agresywne - &21.4pkt nauki" send "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=" send "&7Gracz - &24 pkt nauki" command /Sk.Autor: trigger: send "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" send "&2 Nazwa skryptu: &fHero Skill" send "&2 Autor skryptu: &fAmmon" send "&2 Verjsa skryptu: &fv0.1" send "&2 Kontakt: &fhttps://skript.pl/profil/1791-jpablo/" send "&6&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" command /umiejetnosci: trigger: open chest with 4 rows named "&1Umiejętności postaci" to player wait 4 ticks format slot 1 of player with 1 of sunflower named "&fSkille stałe" to be unstealable format slot 7 of player with 1 of sunflower named "&fSkille czasowe" to be unstealable if {skill::%player%} is bigger than 1: format slot 4 of player with 1 of paper named "&3Informacje" with lore "&7Punkty nauki: &a%{skill::%player%}%" to be unstealable else: format slot 4 of player with 1 of paper named "&3Informacje" with lore "&7Punkty nauki: &c0" to be unstealable if player's walk speed is bigger than or equal to 1: format slot 9 of player with 1 of map named " &fPrędkość chodzenia" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Aktualna prędkość: &a%player's walk speed% MAX||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Następny poziom: &cMaxymalny poziom||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów: &a10" to run "predkosc %player%" else: format slot 9 of player with 1 of map named " &fPrędkość chodzenia" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Aktualna prędkość: &a%player's walk speed%||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Następny poziom: &c+0.4||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów: &a10" to run "predkosc %player%" if max health of player is bigger than or equal to 36: format slot 18 of player with 1 of map named " &fIlość Życia" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość Życia: &a%max health of player% MAX||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Następny poziom: &cMaxymalny poziom||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów: &a15" to run "zycie %player%" else: format slot 18 of player with 1 of map named " &fIlość Życia" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość Życia: &a%max health of player%||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Następny poziom: &c+2||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów: &a15" to run "zycie %player%" if {maxmany::%player%} is bigger than or equal to 300: format slot 27 of player with 1 of map named " &fIlość Many" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Aktualna ilość: &a%{maxmany::%player%}% MAX||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Następny poziom: &cMaxymalny poziom||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów: &a5" to run "manaskill %player%" else: format slot 27 of player with 1 of map named " &fIlość Many" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Aktualna ilość: &a%{maxmany::%player%}%||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Następny poziom: &c+10||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów: &a5" to run "manaskill %player%" format slot 35 of player with 1 of clock named " &fSzybsze kopanie" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Szybkość wydobywania: &a+3||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Czas trwania: &c10minut||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów: &a3" to run "kopanie %player%" format slot 26 of player with 1 of clock named " &fOchrona" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Dodatkowa ochrona: &a+4||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Czas trwania: &c5minut||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów nauki: &a3" to run "ochrona %player%" format slot 17 of player with 1 of clock named " &fRegeneracja" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Dodatkowa regeneracja: &a+2||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Czas trwania: &c2minuty||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów nauki: &a5" to run "regeneracja %player%" format slot 34 of player with 1 of clock named "&fWidzenie w ciemności" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Czas trwania: &c5minut||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzenych punktów nauki: &a5" to run "nightvision %player%" format slot 25 of player with 1 of clock named "&fWyższe skoki" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Zwiększone skoki: &a+3||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Czas trwania: &c4minuty||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów nauki: &a5" to run "skoki %player%" format slot 16 of player with 1 of clock named "&fOddychanie pod wodą" with lore "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Oddychanie pod wodą: &a+5||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Czas trwania: &c5minut||&6=-=-=-=-=-=-=-=-=-=-=-=-=-=||&3Ilość potrzebnych punktów nauki: &a6" to run "oddychanie %player%" command /predkosc []: executable by: console trigger: if argument's walk speed is bigger than or equal to 1: send "&3Osiągniołeś, maxymalny poziom prędkości poruszania się" to arg stop else: if {skill::%player%} is bigger than or equal to 10: set {_speed} to argument's walk speed add 0.04 to {_speed} add -10 to {skill::%arg%} set the walk speed of the argument to {_speed} execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki" to arg stop command /zycie []: executable by: console trigger: if max health of arg is bigger than or equal to 36: send "&3Osiągniołeś, maxymalny poziom Życia %max health of arg%" to arg stop else: if {skill::%arg%} is bigger than or equal to 15: add -15 to {skill:%arg%} add 2 to max health of arg execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki" to arg command /manaskill []: executable by: console trigger: if {maxmany::%arg%} is bigger than or equal to 300: send "&3Osiągniołeś, maxymalny poziom Many" to arg stop else: if {skill::%arg%} is bigger than or equal to 5: add -5 to {skill::%arg%} add 10 to {maxmany::%arg%} execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki" to arg stop command /kopanie []: executable by: console trigger: if {skill::%arg%} is bigger than or equal to 3: add -3 to {skill::%arg%} apply haste 1 to the argument for 5 minutes send "&3Przyznano &aszybkość kopania &3na &a5 minut" to arg execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki na tą akcję" to arg stop command /ochrona []: executable by: console trigger: if {skill::%arg%} is bigger than or equal to 3: add -3 to {skill::%arg%} apply Resistance 4 to the argument for 5 minutes send "&3Przyznano &aOchronę &3na &a5 minut" to arg execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki na tą akcję" to arg stop command /regeneracja []: executable by: console trigger: if {skill::%arg%} is bigger than or equal to 5: add -5 to {skill::%arg%} apply regeneration 2 to the argument for 2 minutes send "&3Przyznano &aRenenerację &3na &a2 minuty" to arg execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki na tą akcję" to arg stop command /nightvision []: executable by: console trigger: if {skill::%arg%} is bigger than or equal to 5: add -5 to {skill::%arg%} apply night vision to the arguments for 5 minutes send "&3Przyznano &aWidzenie w Ciemności &3na &a5 minut" to arg execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki na tą akcję" to arg stop command /skoki []: executable by: console trigger: if {skill::%arg%} is bigger than or equal to 5: add -5 to {skill::%arg%} apply jump boost 3 to the argument for 4 minutes send "&3Przyznano &aWysokie skoki &3na &a4 minuty" to arg execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki na tą akcję" to arg stop command /oddychanie []: executable by: console trigger: if {skill::%arg%} is bigger than or equal to 6: add +6 to {skill::%arg%} apply Water Breathing 5 to the argument for 5 minutes send "&3Przyznano &aOddychnie pod wodą &3na &a5 minut" to arg execute arg command "umiejetnosci" stop else: send "&3Brakuje Ci punktów nauki na tą akcję" to arg stop