Is there any way to get the rank of a certain key in an OrderedDataStore with minimum reads? I know you could get the value of a key and iterate through all keys with that value, but is there any way to just get the one key's rank? For example, if you wanted to get the rank of a specific person on a leaderboard.
COMMUNITY QUESTION
How do you get the rank of something from its key in an OrderedDataStore?
1 answer
An OrderedDataStore is a variant of GlobalDataStore. Therefore, It inherits all of this Instance's methods, that including :GetAsync().
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
But if you use
GetAsync, can you get the rank of the key instead of just the key's value?