Variables: {xp.%player%} = 0 {lvl.%player%} = 1 on chat: set the player's display name to "&6&l%{lvl.%player%}% &f&lLvL &7%display name of player%" on death: if attacker is a player: if victim is a zombie: name of victim is "&2&lTest": set {LVL} to random integer between 30 and 60 add {LVL} to {xp.%attacker%} send "&6Dostales &c&l%{LVL}% xp" to attacker command /wiezienie [] []: trigger: if arg 1 is set: if arg 2 is set: set {Wiezienie} to random integer between 1 and 3 if {Wiezienie} is 1: execute player command "jail %arg 1% Wiezienie1 %arg 2%" send "&czostal dodany do wiezienia" clear {Wiezienie} if {Wiezienie} is 2: execute player command "jail %arg 1% Wiezienie2 %arg 2%" send "&czostal dodany do wiezienia" clear {Wiezienie} if {Wiezienie} is 3: execute player command "jail %arg 1% Wiezienie3 %arg 2%" send "&czostal dodany do wiezienia" clear {Wiezienie} else: send "&cpodaj czas Liczba (czas w minutach)" else: send "&cpodaj Gracz" command /poziom: aliases: lvl trigger: send "&6Posiadasz: &e&l%{xp.%player%}% xp" send "&6Posiadasz: &e&l%{lvl.%player%}% lvl" on death: if {xp.%attacker%} is greater than 100: if {lvl.%attacker%} is 1: set {lvl.%attacker%} to 2 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 200: if {lvl.%attacker%} is 2: set {lvl.%attacker%} to 3 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 300: if {lvl.%attacker%} is 3: set {lvl.%attacker%} to 4 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 400: if {lvl.%attacker%} is 4: set {lvl.%attacker%} to 5 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 600: if {lvl.%attacker%} is 5: set {lvl.%attacker%} to 6 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 800: if {lvl.%attacker%} is 6: set {lvl.%attacker%} to 7 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 1000: if {lvl.%attacker%} is 7: set {lvl.%attacker%} to 8 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 1200: if {lvl.%attacker%} is 8: set {lvl.%attacker%} to 9 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 1400: if {lvl.%attacker%} is 9: set {lvl.%attacker%} to 10 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 1700: if {lvl.%attacker%} is 10: set {lvl.%attacker%} to 11 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 2000: if {lvl.%attacker%} is 11: set {lvl.%attacker%} to 12 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 2300: if {lvl.%attacker%} is 12: set {lvl.%attacker%} to 13 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 2600: if {lvl.%attacker%} is 13: set {lvl.%attacker%} to 14 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 2900: if {lvl.%attacker%} is 14: set {lvl.%attacker%} to 15 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 3200: if {lvl.%attacker%} is 15: set {lvl.%attacker%} to 16 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 3600: if {lvl.%attacker%} is 16: set {lvl.%attacker%} to 17 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 4000: if {lvl.%attacker%} is 17: set {lvl.%attacker%} to 18 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 4400: if {lvl.%attacker%} is 18: set {lvl.%attacker%} to 19 set {xp.%attacker%} to 0 if {xp.%attacker%} is greater than 4800: if {lvl.%attacker%} is 19: set {lvl.%attacker%} to 20 set {xp.%attacker%} to 0