Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Help with making a secure remote event that wipes a specific players data store?

Asked by 4 years ago

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?

0
You can't wipe a datastore 6zk8 95 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago

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.

Ad
Log in to vote
0
Answered by 4 years ago

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).

0
i dont know how to wipe data store that was my original question Its_Monkey 27 — 4y
0
So lets say you use the key as player id (data store key). You can get the players data store with the key and set it to zero with setasync BabanizPROcuk 49 — 4y

Answer this question