How to delete a datastore virus

What?
I have a game that has 60k visits and I haven’t been using it for 2 months since my old “friend” added a virus to the game.

More info
I’m usually quite good at removing viruses from games. But this virus he added is more than a “require” or “getfenv” in a script. He knew I would be able to find that virus and delete it quickly, so he added a virus that works through a datastore. (so it’s harder for me to remove)

Why not just make a new game?
I did private the game and put my homestore on a new place for a long time, but now I want to remove the virus and use the game since 60k visits is quite useful for high search ranking and I would like to use it again.

If you can help please reply with your suggestions, thank you.

3 Likes

Try to use Server Defender plugin. (Madpoint83 creation) works very good. Used it a lot. Here is link:Madpoint83 Creation: Server Defender

1 Like

What does this even mean? Just use a new datastore key

1 Like

And also use all parameters in plugin settings.

Yeah that scans models, just tried it and it didn’t help

2 Likes

No I want to know how to delete a datastore virus, making a new one won’t do anything

2 Likes

Ok but my question is what actually is a datastore virus, that makes no sense. Reset the datastore key and you will have a blank slate to work with

3 Likes

Hmmm try this man comment

DataSighModeler

What does this even mean? Just use a new datastore key

2 Likes

I don’t know the datastore key though. And a datastore virus is a virus that is in the person who added it’s words “impossible” to delete

1 Like

On your datastore you have something like this probably

local DataStoreService = game:GetService("DataStoreService")
local storeValues = DataStoreService:GetDataStore("PlayerExperience")

If you change “PlayerExperience” you generate new save data. So change that to something else

2 Likes

What they’re saying is that if you change the name of the datastore, all of your data will be wiped. Then this datastore “virus” won’t be a problem anymore. Also, can you provide some pictures so we can see what you’re talking about?

4 Likes

if you can find the virus in your explorer just type ‘script’ in your explorer and everything should come up as: local scripts module scripts and scripts, it doesn’t matter even if they’re renamed!

after you’ve found your malicious code, press delete and make sure to double check and then you should be virus free

oh datastore huh?

Well you can always change the data if you have the code on hand, you can try to change the values, I think there’s an setting to turn it off, but I’m not sure how to wipe the datastore, does your game use the datastore? if not you can just delete the script and you’re fine because there’s no longer anything that can load up the datastore

1 Like

How would I go by changing the name of the datastore?

1 Like

It’s not that hard. Change the string inside of the GetDataStore function.

1 Like

The thing is I can’t access the datastore. The virus works with no scripts in the game.

1 Like

what

5 Likes

I’ve never heard of a thing like this, I’m assuming that maybe he remote executes a loadstring in stored in the datastore? Maybe check for any loadstring modules or if loadstring is enabled?

It’s pretty much impossible to do a thing like this otherwise, it could possibly be your datastore being corrupted if that’s the case, though I’ve never heard of anything like that.

Purely diagnostic but I’m sure there might be a chance that could happen.

2 Likes

You could try to check player keys that match your friend’s description, or a friend of a friend description. Then you could remove him from there and that should clear the virus.

1 Like

man, your friend is really evil, however, his virus won’t stay for long.
How?
You can make a
“Get all key in datastore”
How can I do this?
There are only 2 ways to do this, the first one
GetOrderedDataStore – too lazy to explain it

2nd one
It’s like bruteforce, it keeps randomizing the key until it gets the key.
so, we can make a bruteforce system but a lil different, we can brute force it and if it gets something it will print the data, and keep trying, so look at the output until you see a sus key, and you now know the key and :RemoveAsync() it and bam! No more virus. Might sound stupid but it might work tho.

1 Like

Could you at least explain this “datastore virus”? You’re giving 0 info on what it does, how it works, is it obfuscated or not etc etc. It’s like asking someone for help and then saying nothing when they ask what to help you with.

2 Likes