Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to delete saved data?

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.

5 comments

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.

0

How do I enable filternig? I'm an idiot xd

0

nvm, I enabled it but I'm wondering what do you mean using a different datastore?

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.

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.

1 answer

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.