Wiping Players Data

How would I wipe everyones data in my game? I have tried changing the name and its just too complicated with a lot of scripts I was wondering if theres a shorter way.

In order to wipe everyone’s data, you need to change the datastore key.
If I wanted to wipe everyone’s data in my game, I would change my datastore key from:

"DogsDataStore"

to

"DogsDataStore_2"

1 Like

I will try that but theres loads of things that are saying
“Datastore”

local DSService = game:GetService("DataStoreService")
local DataStore = DSService:GetDataStore("DataStore")
local key = "" --some key in the datastore you want to remove the data of

local res = DataStore:RemoveAsync(key)

print(res)

Should output “nil” if successful.

You can’t really delete a datastore or remove everything inside of it without actually knowing the key for each content…
What you can do instead is what @CSSTransitioned said and replace it from store to store_2 or something

show us your datastore script.