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

How to delete saved data?

Asked by
VXAP 0
7 years ago
Edited by M39a9am3R 7 years ago

how to erase ROBLOX game data, I have a game and a hacker [screwed] up the money to -222m and I wanted to ask how do I delete the stored data? thanks.

0
If you're using DataStores and you want to reset everything, use a different DataStore. If you only want to change one value, use a different key. I've also heard of datastore editor plugins. To prevent hackers, use FilteringEnabled. User#11440 120 — 7y
0
How do I enable filternig? I'm an idiot xd VXAP 0 — 7y
0
nvm, I enabled it but I'm wondering what do you mean using a different datastore? VXAP 0 — 7y
0
If you're using DataStores to save data, use a different one. This would be as simple as renaming the datastore you're requesting in one or two scripts. User#11440 120 — 7y
0
Hello VXAP, welcome to the community. Please review the Community Guidelines. https://scriptinghelpers.org/help/community-guidelines Profanity is against the rules of our website. Thank you. M39a9am3R 3210 — 7y

1 answer

Log in to vote
2
Answered by 7 years ago

Don't load it

When you load the data, you generate the key based on (hopefully) the player's UserId and a static part such as data_ - To wipe the data, simply change the static part of the key generation, which will ensure that you never get the same key back and therefore that you never load the old data which you had.

But what about for that one person?
Actually, don't bother loading their data at all. Ever. Just put a check in the code which determines whether their UserId is a blocked one, and then don't load their data. Cheaters do not need second chances.

Ad

Answer this question