How to get a list of the scopes in a datastore?

Basically, I want to get all of the levels (scope) in the datastore and get a list of the fastest time (key) from each level (scope), this is how my data store is structured:

And I basically plan to get all the scopes and find the fastest time in each scope and add them to a list named “WorldRecord” or something like that

I have tried different ways like this one:

And for the print(scopes:GetCurrentPage()) it printed out an empty table even though there’s already different scopes in the levelsLeaderboardData :confused:

Please help


Apparently you can’t get all the scopes without knowing their name :confused:

Oh well