Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Global highscores

Hey!

So I've been contemplating this for a while.. But I want to add a global highscore to my game.

I have no solution to how I can do this.

Is there some sort of method to iterate through a data store reading all values and then ordering them? (The reading through the values is what I will struggle with).

Any assistance to this problem will be highly appreciated!

2 comments

0

Do you only want the highest score or a complete list (leaderboard)?

0

A complete list. :)

1 answer

✓ Accepted answer

Use an Ordered Data Store to get the highscores, assuming that the player's scores are all in one 'PointsStore', or something similar, as opposed to a per-player store. Read more about Ordered Data Stores here.

2 comments

0

Will every player need to start over again, with points and that?

0

What do you mean?

This discussion is preserved as it was. New answers, comments, and votes are closed.