Hello, I'm wanting to do a top 10 kind of leaderboard, but i don't actually know how to return the all the datastores as a table.
Eg:
table = game:GetService("DataStoreService"):GetDataTable(nameofstore)
print(table[1])
How would i make that? Thank you.

3 comments
Using a normal datastore is quite inefficient, you should instead use OrderedDataStores.
That's a load of bollocks.
But he's at least partly right. For this context, you do want to look into OrderedDataStores