I've installed a virus plugin and it has spread into all my scripts. What do I do

This problem has already been addressed by many people, so I’ll cut to the chase. I have a game with a LOT of scripts and I’ve also installed a virus plugin. Up until now (Yes, literally a few hours ago) I realized I installed a virus that has been infecting my innocent scripts. My game has 50+ scripts, so cleaning each one will be hard. I’ve already deleted the trouble making plugin (though please check my inventory if I missed anything), so how do I restore my game? Remember that the virus turned my innocent scripts into malicious scripts. And yes, its rosync loader or something

1 Like

Is there a pattern to how your scripts were infected? For example, a snippet at the end or beginning? If the snippets are close enough, they could be automatically identified and removed.

1 Like

I don’t really know what you mean by snippets but everytime I made a script, the virus plugin would add something like this (I’m typing this based on memory): last synced [INSERT TIME AND DATE IT WAS SYNCED] (insert a lot of space between that to the point where the script I made is off-screen) pcall [randomID] rosync loader.

That’s what was happening every time I made or edited a script

Search for infected scripts using Find All (search for keyword RoSync or Synced).
Then in the infected script you can click three times on a line to select it, then just press delete or backspace and it’ll delete the line.
(This just added a single line in every script, right?)
Also make sure you uninstall the plugin that caused this.

You can surf the forums to find an anti-virus plugin, I use one called game guard which searches for viruses. Sadly, you may have to just manually go through all your scripts and delete the last line of each one of them. Beats having a back-door though.

1 Like

I’ve installed the anti virus you have and I’m now in the process of manually deleting every virus in my game script by script. It’ll take a long time, but hey, at least the game that the virus infected was a test place and not a game with crazy builds I spent hours on!