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

How to put a data save script? [closed]

Asked by 5 years ago

This question already has an answer here:

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.

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? KardashevScale 110 — 5y

Marked as Duplicate by User#24403 and alphawolvess

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago
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!

Ad