Currently, my Datastorage module is located under a folder of modules under ReplicatedStorage. This is so I can communicate from the client to retrieve their data locally for their UI to show everything. Is this safe? Should I instead be using events to show them their stats from a server script and keep my data under the server?
My guess is what you are asking is if DataStore requests are safe to do have the client perform through your “Datastorage” module. If this is the question, it is not possible to do since the client can’t make any calls to the
DataStoreService. It would have to be done on the server and use
RemoteFunctions to communicate. You can’t use a
ModuleScript for this because the client and server don’t share the same state of the