How to calculate total experience and show it on scoreboard

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

cps77

Member
Jan 23, 2024
3
0
1
13
I want to know how to show player's total experience on scoreboard like this:
every 1 second:
@loop all players:
@@wipe loop-player's sidebar
@@set name of sidebar of loop-player to "server"
@@set score "total experience : (total xp of player)/(max xp in player's level)" in sidebar of loop-player to 0


pls help I'm looking for this for more than 3 hours and have no clue ;;