Resetting players data

Is there any way I can reset a players data using a data store? I’m wondering this because I want to make an a main gui with a button that get the text from a text box and the text will be the players name…Anyways I just want to know how to reset a players data.
Also I’m just asking this for future reference since my pc won’t open Roblox :c

1 Like

Change the DataStore name to reset all people’s data.
SetAsync(Key, nil) on the person you want to reset the data.

5 Likes

You can simply set their data to nil, or just change the entire name of your DataStore to reset everyone’s data.

1 Like