Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

"DataStore can't be accessed from client" error?

Asked by
RedCombee 585 Moderation Voter
9 years ago

When I try to test my game for errors, this one appears every time and breaks the script, on the first line, too!

local saveversion = game:GetService("DataStoreService"):GetDataStore("Version")

Are DataStores un-accessible through local scripts?

1 answer

Log in to vote
0
Answered by 9 years ago

All Data-Persistence MUST be done through a regular script, otherwise it will not work. Simply convert it to a regular script and it should work.

Ad

Answer this question