Jump to content

XP Progress System | Shows your XP Progress!


Swayl

Recommended Posts

XP Progress System

This system is mostly good for

RPG servers that has levels and xp.

This will be helpful for players to

keep track of their progress when it comes

to level, xp and how much they need

more to level up to the next rank.

 

SCRIPT

(7 lines)

#
# | Variables |
# {_p} - the player
# {_u} - uuid of {_p}
# {xp::%{_u}%} - Current xp of player
# {xp::needed::%{_u}%} - XP needed to level up.
# {level::%{_u}%} - Current level of player
#

function xp():
    loop all players:
        set {_p} to loop-player
        set {_u} to uuid of {_p}
        set {_n} to {xp::%{_u}%}/{xp::needed::%{_u}%}
        set level progress of {_p} to {_n}
        set level of {_p} to {level::%{_u}%}

#
# Can be used like this
# every 5 seconds:
#     xp()
#

 

  • Like 1

Things to know about me

• I have 2 years of skript experience

• I work on my servers all by myself
• I like being alone

• I have insane trust issues

• I simp for alot of people (trying my best not to)

• My mental age is somewhere 8

• I dont like meeting new people

• Very toxic

 

Discord Swayl#0099

MC IGN - Swayl

(I suggest avoiding me because I get too attached to people quick)

Link to comment
Share on other sites

  • 6 months later...

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...