Hi.

I'm working on making a worldwide leaderboard and I was just wondering, how do you find the maximum values inside a DataStore table?

"DataStore table" referring to the entire list of players and their values in the DataStoreService. Does anyone know how to?

Answer answers/comments will help. ~SkeletalReality

3 comments

1

It's impossible (or prohibitively costly and unscalable) to do with a regular DataStore. You'd want an OrderedDataStore for this purpose. http://wiki.roblox.com/index.php?title=API:Class/OrderedDataStore

0

Alright, I skimmed through OrderedDataStore and I figured it all out. Thanks!

0

np mr skeltal