I have this code put into a module script in the replicated storage:
local DataStoreService = game:GetService("DataStoreService") local playerData = DataStoreService:GetDataStore("PlayerData")
Everytime the game is started up, however, it keeps having this error: "Data store can't be accessed from client." Why does it do this? API Servers are already enabled.
You should be requiring it from the server and sending the information to the client,