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

Wiping saved data from the data store?

I will try to make this as easy to understand as possible. Sorry for such a short post.

What is a simple way to wipe saved data from the DataStore?

1 answer

✓ Accepted answer

I don't know if their is a function or something to clear Data. However, you can just change the name of the datastore you're accessing. Nothing would exist there, basically a Data wipe. Also, a new place will not contain the same data. Here is an example of what I mean: (Of course, in a script)

game:GetService("DataStoreService"):GetDataStore("GameData")
-- Now we want to "wipe" it, so start using a different one!

game:GetService("DataStoreService"):GetDataStore("DifferentData")

--DifferentData will not contain anything inside because it doesn't exist, so you're making a whole new one!

Comment any questions and accept/upvote if this helped!

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