variables: {wojownik.%player%} = 0 {mag.%player%} = 0 {sura.%player%} = 0 {lvl::%player%} = 1 {exp::%player%} = 0 {wymag::%player%} = 100 options: next: 1,2 tag: &8[&6Parkour&8] chat: &a[&4&lLvl. &6&l{LVL}&a] &f&l[&3&l{CLASS}&f&l] &8{PLAYER} &2:&c&o {MESSAGE} command /klasa [] []: permission: modifyworld.* trigger: if arg 1 is "wybierz": if arg 2 is "wojownik": if {wojownik.%player%} = 0: if {mag.%player%} = 0: if {sura.%player%} = 0: set {wojownik.%player%} to 1 send "&c&lWybrales klase wojownik!" else: send "&c&lTwoja aktualna klasa to sura!" else: send "&c&lTwoja aktualna klasa to mag!" else: send "&c&lJestes juz wojownikiem!" if arg 2 is "mag": if {wojownik.%player%} = 0: if {mag.%player%} = 0: if {sura.%player%} = 0: set {mag.%player%} to 1 set {mana::%player%} to 500 send "&c&lWybrales klase mag!" else: send "&c&lTwoja aktualna klasa to sura!" else: send "&c&lJestes juz magiem!" else: send "&c&lTwoja aktualna klasa to wojownik!" if arg 2 is "sura": if {wojownik.%player%} = 0: if {mag.%player%} = 0: if {sura.%player%} = 0: set {sura.%player%} to 1 send "&c&lWybrales klase sura!" else: send "&c&lJestes juz sura!" else: send "&c&lTwoja aktualna klasa to mag!" else: send "&c&lTwoja aktualna klasa to wojownik!" if arg 1 is "zrezygnuj": if arg 2 is "wojownik": if {wojownik.%player%} = 1: set {wojownik.%player%} to 0 send "&c&lZrezygnowales z bycia wojownikiem" else: send "&c&lNie jestes wojownikiem" if arg 2 is "mag": if {mag.%player%} = 1: set {mag.%player%} to 0 send "&c&lZrezygnowales z bycia magiem" else: send "&c&lNie jestes magiem" if arg 2 is "sura": if {sura.%player%} = 1: set {sura.%player%} to 0 send "&c&lZrezygnowales z bycia sura" else: send "&c&lNie jestes sura" if arg 1 is "help": send "&c&lUzyj: /klasa wybierz wojownik/mag/sura aby wybrac klase" send "&c&lUzyj: /klasa zrezygnuj wojownik/mag/sura aby zrezygnowac z klasy" if arg 1 is "usunklase": if arg 2 is player: if player has permission "usuwanieklas": set {wojownik.%arg 2%} to 0 set {mag.%arg 2%} to 0 set {sura.%arg 2%} to 0 send "&c&lUsunieto klase tego gracza" command /mana []: permission: modifyworld.* trigger: if {mag.%player%} is 1: if arg 1 is "zbierz": wait 10 second add 30 to {mana::%player%} if arg 1 is "ilosc": send "&c&lStan twojej many wynosi %{mana::%player%}%." on damage: if name of attacker's tool is "Miecz wojownika": if {wojownik.%attacker%} is 1: set {_obrazenia.%attacker%} to 105 else: send "&cTen miecz nie przypisuje sie twojej klasie!" to attacker cancel event if name of attacker's tool is "Miecz sury": if {sura.%attacker%} is 1: set {_obrazenia.%attacker%} to 90 set {_szybkosc.%attacker%} to 120 else: send "&cTen miecz nie przypisuje sie twojej klasie!" to attacker cancel event if {_obrazenia.%attacker%} is 105: increase the damage by 105% if {_obrazenia.%attacker%} is 90: increase the damage by 90% if {_szybkosc.%attacker%} is 120: set attacker's walk speed to 0.4 on rightclick: if player's tool is blaze rod named "Rozdzka kuli": if {mag.%player%} = 1: if {mana::%player%} >= 20: shoot an fire ball remove 20 from {mana::%player%} else: send "&c&lNie masz wystarczajaco many" else: send "&cTen przedmiot nie przypisuje sie twojej klasie!" on anymove: if {sura.%player%} = 0: set player's walk speed to 0.3 on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} if {mag.%player%} is 1: replace all "{CLASS}" with "MAG" in {_chat} if {wojownik.%player%} is 1: replace all "{CLASS}" with "WOJOWNIK" in {_chat} if {sura.%player%} is 1: replace all "{CLASS}" with "SURA" in {_chat} broadcast "%{_chat}%" on death: if attacker is a player: if victim is a zombie: add 10 to {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 250: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players else: send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&7!" to attacker command /poziom []: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "" send " &6&l[POZIOM GRACZA]" send " &a> &3Aktualnie posiadasz: &e&l%{exp::%player%}% &3exp" send " &a> &3Do nastepnego poziomu brakuje ci: &e&l%{_next}% &3exp" send "" command /kolorki: description: Wyświetla przyisanie kolorów. trigger: send "Kolorki: &aa &bb &cc &dd &ee &ff &00 &11 &22 &33 &44 &55 &66 &77 &88 &99" to player command /resetwymag: trigger: set {wymag::%player%} to 100 command /resetpoziom: permission: reset.lvl description: Resetuje poziom gracza trigger: set {wymag::%player%} to 100 set {exp::%player%} to 0 set {lvl::%player%} to 1 send "&8> &7Pomyślnie zresetowałeś swój poziom" to player command /lvl []: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "" send " &6&l[POZIOM GRACZA]" send " &a> &3Aktualnie posiadasz: &e&l%{exp::%player%}% &3exp" send " &a> &3Do nastepnego poziomu brakuje ci: &e&l%{_next}% &3exp" send ""