Hello!
I need to make a global leaderboard that will be cleared at some intervals (week, month, etc.).
How can I implement this?
I was thinking about using a DataStore in which I would store the date and then do something with it, but I can’t think of what to do yet.
I am also concerned about the issue of desynchronization, that is, when several servers begin to interfere with the leaderboard and interfere with each other.
Make a data store with all of the leaderboard data including the last tick() at its reset. If you check in a script and the current tick() is a month or week greater than away from the last then check again if it changed… if not? Change it. It shouldn’t have any desynchronization as the goal is for only one script will reset it. But idk if what I said would work…