Leaderboards with only datastores in GUI

How could I achieve a leaderboard (not the tab one, like from most to lowest) in a gui with the use of only datastores? is it possible to retrieve the 5 highest datastores values and then script it into the GUI?

No, you have to use OrderedDataStores.

So, If I have a datastore, i need to change it to OrderedDataStores? Or do you mean that I just need to use OrderedDataStores method, im confused

You can use OrderedDataStores along side the normal DataStore.

OrderedDataStores should only be used for leaderboards as they have much harsher rate limits than regular datastores and can only store numbers.

1 Like