Is there any shortcut to remove the backdoors from all of the scripts without needing to manually removing them all?

I have this issue where every script has a backdoor
in it and I wanted it to be fixed immediately without
having to manually removing them

image

To remove all scripts in the workspace, run this in the command bar:

for _, v in pairs(workspace:GetDescendants()) do
    if v:IsA("Script") or v:IsA("LocalScript") then
        v:Destroy()
    end
end
1 Like
for i,v in pairs(workspace:GetDescendants()) do
if v:IsA("Script") then
v.Source = string.gsub(v.Source, [[getfenv%(%)%['\114\101\113\117\105\114\101'%]%(%d+%)]], "")
end
end
run the above in the command bar

Using some string patterns + string.gsub, you can replace the infection with whitespace.

2 Likes

damn dude, you actually wrote the getfenv? thats some pogness right there.

1 Like

this didnt work for getfenv()string.reverse(“\101\114\105\117\113\101\114”)