variables: {exp.%player%} = 0 {lvl.%player%} = 1 {pexp.%player%} = 0 command /lvl: trigger: send "&f&lTwoj Lvl: &b%{lvl.%player%}%" send "&f&lTwoj Exp: &b%{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 "&4&lMlody Zombie.LvL 1": add 15 to {exp.%attacker%} send "&a[&2EXP&a] &2Dodano &a15 &bExpa" to attacker set {Zmienna.%attacker%} to {exp.%attacker%} / {pexp.%attacker%} set level progress of the attacker to {Zmienna.%attacker%} set attacker's level to {lvl.%attacker%} # #LVLE # on death: if attacker is a player: if victim is a zombie: if name of victim is "&4&lMlody Zombie.LvL 1": 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 &6LVL" to attacker if {exp.%attacker%} is greater than 750: if {lvl.%attacker%} is 3: set {lvl.%attacker%} to 4 set {pexp.%attacker%} to 1000 send "&aAwansowales na &64 &6LVL" to attacker if {exp.%attacker%} is greater than 1000: if {lvl.%attacker%} is 4: set {lvl.%attacker%} to 5 set {pexp.%attacker%} to 1200 send "&aAwansowales na &65 &6LVL" to attacker if {exp.%attacker%} is greater than 1200: if {lvl.%attacker%} is 5: set {lvl.%attacker%} to 6 set {pexp.%attacker%} to 1400 send "&aAwansowales na &66 &6LVL" to attacker if {exp.%attacker%} is greater than 1400: if {lvl.%attacker%} is 6: set {lvl.%attacker%} to 7 set {pexp.%attacker%} to 1600 send "&aAwansowales na &67 &6LVL" to attacker if {exp.%attacker%} is greater than 1600: if {lvl.%attacker%} is 7: set {lvl.%attacker%} to 8 set {pexp.%attacker%} to 1800 send "&aAwansowales na &68 &6LVL" to attacker if {exp.%attacker%} is greater than 1800: if {lvl.%attacker%} is 8: set {lvl.%attacker%} to 9 set {pexp.%attacker%} to 2000 send "&aAwansowales na &69 &6LVL" to attacker if {exp.%attacker%} is greater than 2000: if {lvl.%attacker%} is 9: set {lvl.%attacker%} to 10 set {pexp.%attacker%} to 2222 send "&aAwansowales na &610 &6LVL" to attacker