How To Reset DataStore?

I want to reset datastore. Is There Any Way To Do It?

2 Likes

Change the key for your datastore.

Example:

local DataStoreService = game:GetService("DataStoreService")
local GlobalData = DataStoreService:GetAsync("Test#1")

Then if you want to change the key, here’s another example.

local DataStoreService = game:GetService("DataStoreService")
local GlobalData = DataStoreService:GetAsync("Test#2")
DataStore:SetAsync(Player.UserId, nil)
3 Likes