I got onto Roblox studio today and started working on scripts as usual, but I noticed the script editor lagging intensely. I already have a clear idea of what the script is probably doing, but it isn’t in a very standard format, so I can’t see exactly what it does.
I then looked through others scripts and found that the exact same virus was in every single server script and module script in the entire game, no matter the location. The issue is, this is an obby game, and every single kill part has a kill script in it (I didn’t make it ). That means I have found several hundred scripts each with the same virus in it.
I have already spent a good 15 minutes going through and deleting the virus, but I want to eliminate it from the source instead of temporarily fixing it.
Here is a screenshot of the virus. Note that it lags the script editor like crazy:
I know exactly where to find the virus in each script, but it is a pain to delete it because of both the lag and how many scripts there are. I honestly may just make a quick plugin that gets rid of all that stuff.
Edit: Thanks for that shortcut, I actually didn’t know that one. What a lifesaver
Although not really related to removing the virus, i recommend making 1 main script that makes bricks named “KillBricks” (Or whatever you want it to be) automatically kill you when you touch them.
I use this in my game, and it’s actually really helpful.
No the virus is actually just something inside of every single script. I will just create a quick plugin that I can use in the future for when each virus has the same code
Edit: When I mean inside of every script, the virus doesn’t have it’s own script it hides itself in the other scripts