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