Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to put a data save script?

I've tried making a data save script since November of 2018 but a Roblox update broke it.

1 comment

0

Er, what exactly do you mean "a Roblox update broke it". How could we possibly help you, if you don't at least provide the script in question?

1 answer

✓ Accepted answer
local DataStore = game:GetService("DataStoreService")

--Saving data
DataStore:SetAsync(Name, Data)

--Getting Data
local savedData = DataStore:GetAsync(Name)

Of course, there are many more features of the DataStoreService. I hope that helped!

This discussion is preserved as it was. New answers, comments, and votes are closed.