Jump to content

XP Progress System | Shows your XP Progress!


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
  • Been "Skripting" for half a year now
  • Whale type 
  • Doesn't like Idle Servers (But made one)
  • Doesn't like Mining-PvP servers (But made one)
  • Likes MrScopes lol

 

I make original memes about minehut too.

Capture.png.5a3e6c2c283f3e0ee17860d8704f25f6.png

 

  • Discord Swayl#4299
  • MC IGN - Swayl
Link to post
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...