I want to be able to wipe a players data store with a remote event being fired through a gui but i don't know how. I am not asking for someone to completely write a script for me but how would i 1, wipe the specific players datastore for a ban datastore, 2, make the remote event doing so secure so exploiters couldn't fire it and wipe anyones datastore?
I think your best bet would be to set a bunch of data to 0 such as a Cash leaderstat, and do it so when you fire the remote event you would have a temporary key inside of the script and the script that senses if the remote event is fired would check if the key is valid, but I'm no Einstein, those are just my thoughts.
Run the wipe script once and make sure it saves and delete it so no one accesses it. I mean write a script then execute it somewhere where it will save(Maybe roblox studio with api enabled so it saves).