Script Wont Let Me Delete Backdoor Script

hey there,

so i have a script here


image

every time i try to delete it,

image

any reason why?

I got no clue but have you tried disabling it and then deleting it?

1 Like

It’s likely a plugin detecting the script deletion. Are you using any malicious plugins?
As a quick workaround, you could always remove the malicious require.

Removing the malicious require
for _, script in next, game:GetDescendants(), nil do
    if not script:IsA("BaseScript") and not script:IsA("ModuleScript") then continue end
    script.Source = string.gsub(script.Source, "require%(%d+%)", "--[[%1]]") --comment it out if you need to inspect it further
end

If you want to check the plugin sources (Windows)

  1. Use Windows Key + R to open Run. Type %localappdata%\Roblox.
  2. Open the “Plugins” folder. Here will be all of your Roblox plugin scripts.
  • (Alternative to steps 1 and 2 you can just go to Studio top bar > Plugins > Plugins folder)
  1. If you have software like VS Code, you can use the search feature in that to help you inspect the source (it’s nicer to look at in VS Code anyway). Otherwise, just open it in Notepad.