I'm trying to make a list of supporters that will put your username on it when you buy the gamepass, but I couldn't find anything on the wiki except for UserOwnsGamePassAsync, which would work for a server leaderboard, but I'm trying to make a global leaderboard. Could I use an OrderedDataStore for this, or would I need something more advanced?
UserOwnsGamePassAsync
and OrderedDataStore
aproach should work. You might also use PromptGamePassPurchaseFinished
if you are selling gamepasses in the game, and want to update the list without the need for player to rejoin. Other than that, connect your function to PlayerAdded
and you should be ready to go.
Also remember that OrderedDataStores
have rather small querry limits, so do not update your list too often.