Data error please help


[07:43:49.143 - DataStore can’t be accessed from client]
I have never seen this error?

local DSS = game:GetService("DataStoreService")
local MyDataStore = DSS:GetDataStore("MyDataStore")

Is the origin of this error message located in a local script? If it is that’s the cause of this error because data stores cannot be access by the client. More info can be found here

This means that you are trying to get the service from the client. If you check the wiki, it tells you this cannot be accessed through the client.

I suggest using a remote event!

thanks! I think I used a local script not a script.

1 Like

Glad I could help! Maybe mark my post as a solution so others can find an answer!