I am currently using DataStore2 in my game and I have run into an issue. The script has a loop that is constantly giving players cash every few minutes. For testing reasons, I give myself some cash with the following script through F9 command bar:
This works, however, datastore 2 does not save this data because when I leave and rejoin the game after giving myself money, the money I had before I did the F9 script is what appears on the leaderstats UI.
Does anyone know why this would be and how I can fix it? I didn’t have this problem before.