but I don’t know how to make more LeaderBoards with one GetOrderedDataStore
I used pages for LeaderBoard, but its using only 1 Value, if I use 2 or more value ?
local pages = vGetOrderedDataStore:GetSortedAsync(false, 10)
local topTen = pages:GetCurrentPage()
how are you planning on sorting the values?:
do you want to make some gui that says “best player” and sorts by some weighted average between playtime and strength? In this case, I’d generate the average when saving and save that, then save the playtime and strength separately on a global datastore. The ordered datastore would be used to sort players, then you’d use the global datastore to get the rest of the data from the keys in the ordered datastore
if you want to sort players by playtime, but also show strength next to it, make an ordered datastore for playtime and a global datastore for strength. You’d need to just get the strength of a respective player whenever displaying their playtime
is there another reason why you can’t use two datastores?