Title says it all. Help would be appreciated.
In the exact same way you get data for a leaderboard, you would be able to get many keys within the ordered datastore. Once you have the keys, you can set the datastore key to the value you desire. The main thing that I would worry about when doing this is if you have many keys already and get rate limited. If you have heaps of keys, make sure you add a wait inside of your loop.
May you provide some context as to what you are doing this for? As there may be a more efficient way of completing your task.
I’m trying to make a weekly leaderboard. (Resets every week)