Jump to content

| Level Up Skript! | Kill Mobs To Get Xp And Level Up |


SoulNitro

Recommended Posts

on death: 
  if victim's name = "&6Tree Spirit":
    add 3 to {Xp.%attacker's uuid%}
    send action bar "&c&l%{Xp.%attacker's uuid%}%&7/&c&l100" to attacker
  if {Xp.%attacker's uuid%} > 100:
    remove 100 from {Xp.%attacker's uuid%}
    add 1 to {lvl.%attacker's uuid%} 
    send title "&b&lLeveled Up" to attacker for 5 seconds
    send subtitle "&7&lLVL &b&l%{lvl.%attacker's uuid%}%" to attacker for 5 seconds
command /levels:
  permission: skript.custom.levels
  trigger:
    set {_xp} to {Xp.%player's uuid%}
    if {_xp} is not set:
      set {_xp} to 0
    set {_lvl} to {lvl.%player's uuid%}
    if {_lvl} is not set:
      set {_lvl} to 0
    send "&7XP: &c&l%{_xp}%&7/&c&l100"
    send "&8-----------------------"
    send "&7LEVEL: &b&l%{_lvl}%"
Quote

Do Whatever  u want with this skript!

change it or use it and I wont mind! I don't need credits too. 

Just reply if u like it!

 

Edited by SoulNitro
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...