Where should I store values for data store?

oop

no it does not work between Server and client, it appears only server

Ah yea that’s an issue for me, as I need to read the data in client scripts for UI stuff

Unsure if clients can change that data. I have no guarantee.

Changes done to module scripts on the client don’t replicate to the server, and changes done on the server don’t replicate to the client, so you will need to either make a table that simulates replication via remote events, or use instances or attributes.

As for your question in the OP, I personally store my players’ data in replicated storage, I don’t want there to be a case where the player is removed from the DataModel before I’m able to save. It’s all up to you really.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.