How can I make it so when the player clicks a button it deletes all the datastore data for them?

I need it so when a player clicks a button it wipes their data.

I don’t know how to do it, I’ve looked around for about 30 minutes but I couldn’t find anything.

I have tried looking on youtube and here, and I haven’t found anything.

I don’t want it to just set everything to 0, it needs to fully reset it.

You can fire a remote event to the server after clicking a button. Then on the server you can setasync their data to nil.

Is there an easier way to do this than setting every data store individually?

Is your data table data or what?

It’s datastore data
(30charlimit)