Levelling System Leaderboard

Hey! I have this issue while trying to load a leaderboard with a ordered level data where it only shows the xp and not the level amount

this is how i’ve saved the datas:

	LevelData:SetAsync(player.UserId .. "-level",player.Status.Level.Value)
	LevelData:SetAsync(player.UserId .. "-xp",player.Status.XP.Value)

when i print the data it only prints the xp

image

1 Like

This would appear to be because, you are setting the userID’s data to the level, and then to the XP.
You can either store all data into a table or get two separate datastores to hold XP and Levels.

If you need help with setting it up in one table, let me know and I hope this helped! :^)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.