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

0

Using a normal datastore is quite inefficient, you should instead use OrderedDataStores.

1

That's a load of bollocks.

1

But he's at least partly right. For this context, you do want to look into OrderedDataStores