Constantly changing data not saving

i just wanted to delete this topic

  1. Is your loop running client side or server side.
  2. What does your saving function look like? It could be an issue with that instead.

You need to give stats in server (Server Script) for it able to save to datastores. If data ain’t saving then you either have a bad data saving system OR it’s not made. You also need to do the datastore in server (Server Script)

Put the Server Scripts in ServerScriptService

That is why. You are only adding to the leaderstats value client sided, which means only that player sees it. All other players and the server/datastore will not see the change. Move the loop to the server side to fix this. :slight_smile:

1 Like

Why did you give him a solution I said the exact same thing and said it 2 mins before he sent the message?

I mentioned that at the start of the sentence?

You can’t access DataStores from local scripts regardless of whether or not the changes to the leaderstats were replicating to the server.