Variables: {xp.%player%} = 0 on death: if attacker is a player: if victim is zombie or husk or skeleton or silverfish or zombie villager or giant or ender dragon or elder guardian or vex or vindicator or evoker or creeper or cave spider or enderman or magma cube or wither skeleton or blaze or ghast or spider or wither: set {LVL} to random integer between 1 and 5 add {LVL} to {xp.%attacker%} send "&8» &6Dostales &c&l%{LVL}% xp" to attacker command /poziom: aliases: lvl trigger: send "&8» &6Posiadasz: &e&l%{xp.%player%}% xp" send "&8» &6Posiadasz: &e&l%{lvl.%player%}% lvl" command /rpoziom []: aliases: rlvl permission: rpoziom permission message: &8» &c&lBlad!&r Nie masz uprawnien permission message: &8» &6Napisz do &c&lAdmina&r aby zresetowac poziom trigger: if arg 1 is set: set {xp.%player%} to 0 set {lvl.%player%} to 0 send "&8» &6Zresetowales lvl graczowi: &e&l%player-arg%" if arg 1 is not set: send "&8» &c&lBlad!&r Podaj nick gracza!" on death: if {xp.%attacker%} is greater than 1: set {lvl.%attacker%} to 1 if {xp.%attacker%} is greater than 50: set {lvl.%attacker%} to 2 if {xp.%attacker%} is greater than 100: set {lvl.%attacker%} to 3 if {xp.%attacker%} is greater than 150: set {lvl.%attacker%} to 4 if {xp.%attacker%} is greater than 200: set {lvl.%attacker%} to 5 if {xp.%attacker%} is greater than 250: set {lvl.%attacker%} to 6 if {xp.%attacker%} is greater than 300: set {lvl.%attacker%} to 7 if {xp.%attacker%} is greater than 350: set {lvl.%attacker%} to 8 if {xp.%attacker%} is greater than 400: set {lvl.%attacker%} to 9 if {xp.%attacker%} is greater than 450: set {lvl.%attacker%} to 10 if {xp.%attacker%} is greater than 500: set {lvl.%attacker%} to 11 if {xp.%attacker%} is greater than 550: set {lvl.%attacker%} to 12 if {xp.%attacker%} is greater than 600: set {lvl.%attacker%} to 13 if {xp.%attacker%} is greater than 650: set {lvl.%attacker%} to 14 if {xp.%attacker%} is greater than 700: set {lvl.%attacker%} to 15 if {xp.%attacker%} is greater than 750: set {lvl.%attacker%} to 16 if {xp.%attacker%} is greater than 800: set {lvl.%attacker%} to 17 if {xp.%attacker%} is greater than 850: set {lvl.%attacker%} to 18 if {xp.%attacker%} is greater than 900: set {lvl.%attacker%} to 19 if {xp.%attacker%} is greater than 950: set {lvl.%attacker%} to 20