Datastore not saving properly!

The client side changes does not do any replication to the server, therefore the server does not see any changes to that value. If you wish to see/learn more, look at the document: Client-Server Runtime | Documentation - Roblox Creator Hub

That’s why data is not being saved.

Still does not work. I used a remote event to make the server update it but it still says I have no data and is saved true on server shutdown

BUT it did throw out an error
"ServerScriptService.SuperDataStore:45 attempt to index boolean with number - Server - SuperDataStore:45"

on line 45 with this code:

		player:WaitForChild("OwnsShovel").Value = data[1] -- line 45
	else
		print("The player has no data!") -- The default will be set to 0	
	end 

EDIT: Nevermind that was old

I did some tinkering and eventually I discovered if I put it in the same datastore as my in-game currency then it saves properly. Maybe that script was different or had interference.

@GE_0E , @gIwwinnq thanks for the help!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.