Whilst using @loleris 's ProfileService datastore module, I encountered two errors, they are both shown below. The DataManager and ProfileService are parented to ReplicatedStorage as okeanskiy’s video says. If anyone knows a solution please let me know. Thank you for reading!
Are either of the scripts being required by a LocalScript?
Yes, the DataManager is being required by two scripts. Actually, now that your talking about that I also get another erroring saying this.
You’re requiring them from LocalScripts and not a normal Script? If so, that’s the problem. DataStore affiliated things can’t be accessed from a LocalScript.
You’re trying to use this module with LocalScripts, which will not work. I recommend using a RemoteEvent to handle all DataStore stuff on the server.
Oh ok, let me try that then. I’ll let you know what happens.
Ok, so now the two errors have gone but I’m getting a different error. I have a feeling that it has something to do with the way I ordered/named the table. Anyways, here’s the error.
Where it’s referencing the error.
The ProfileStore of the DataManager.
This means that DataManger:Get(Player) is returning nothing