variables: {exp.%player%} = 0 {lvl.%player%} = 1 {pexp.%player%} = 0 on entering of region "lvl5": if {lvl.%player%} is greater than 5: teleport player to {Expowiskolvl5} else: send "&cZbyt Niski LVL" command /Ustawlvl5: permission: Ustawianie.lvl trigger: set {expowiskolvl5} to location of player command /lvl: trigger: send "&cTwoj Lvl: &a%{lvl.%player%}%" send "&cTwoj Exp: &a%{exp.%player%}%&8/&a%{pexp.%player%}%" command /resetlvl: trigger: set {lvl.%player%} to 1 set {pexp.%player%} to 100 set {exp.%player%} to 0 on death: if victim is zombie: if name of victim is "&6Mlody Zombiak": add 6 to {exp.%attacker%} send "&a[&2EXP&a] &2Dodano &a6 &2Expa" to attacker on death: if attacker is a player: if victim is a zombie: if name of victim is "&6Mlody Zombiak": if {exp.%attacker%} is greater than 100: if {lvl.%attacker%} is 1: set {lvl.%attacker%} to 2 set {pexp.%attacker%} to 250 send "&aAwansowales na &62 &6LVL" to attacker if {exp.%attacker%} is greater than 250: if {lvl.%attacker%} is 2: set {lvl.%attacker%} to 3 set {pexp.%attacker%} to 750 send "&aAwansowales na &63 &aLVL" to attacker if {exp.%attacker%} is greater than 750: if {lvl.%attacker%} is 3: set {lvl.%attacker%} to 4 set {pexp.%attacker%} to 1450 send "&aAwansowales na &64 &aLVL" to attacker if {exp.%attacker%} is greater than 1450: if {lvl.%attacker%} is 4: set {lvl.%attacker%} to 5 set {pexp.%attacker%} to 3100 send "&aAwansowales na &65 &aLVL" to attacker if {exp.%attacker%} is greater than 3100: if {lvl.%attacker%} is 5: set {lvl.%attacker%} to 6 set {pexp.%attacker%} to 10500 send "&aAwansowales na &66 &aLVL" to attacker command /lvl5daj: permission: Permisja trigger: send "dostales 5 lvl :)" set {lvl.%player%} to 5 set {pexp.%player%} to 3100 set {exp.%player%} to 3150