Hi all,
So I wan’t to sort a leaderboard by several stats. Let’s say it’s an obby for example.
I have stats saved to their normal Datastore for:
How far the player got
How long it took them to get there
How many times they died and revived before making it there
On the leader board I would like to display the ranking firstly by How far they got, then How long, then how many deaths. So for example:
Player 1: Platform 60 and took 35 mins
Player 2: Platform 48 and took 24 mins
Player 3: Platform 48 and took 28 mins
I know that I could go though the entire main datastore of possibly thousands of players and sort the data in script but I’m pretty sure doing that every 10 or so seconds would create some serious lag.
The only other way I can see to do this is to do the usual GetOrderedDataStore for How far they got.
Then I would have to use each player’s ID to look up the other two stats from the main datastore. This would of course work BUT just wondering if there is an easier way?