A virus took over my game and all the parts in it now it took over my full game I need a script that I can put in my game to clean the viruses away?
You could try looking for some plugins, or some anti-infection scripts, but the best advice is to just go into place setting (or 'configure'), find 'version history' and revert to an earlier save. This will get rid of all the viruses. Next time, use less or check the free model if you are using any. Also, don't trust (like lord said) everyone who wants to help. You should check the model in an empty place before using it on your main game.
This script was created by obedientyankees96, Basically what it does is runs through all children of workspace, and checks if it has the same name as the ones in the table Viruses. Many people in the roblox community have added onto the viruses table, so I found the most updated one, and added some more to it.
Quarantine_Instead_Of_Delete = true -- Change this if you want the virus to be deleted instead of Quarantined. Print_Results = true -- Do you want the results to be printed? Scans = 1 -- How many scans should run? -------------------------------------- q = Instance.new("Model") q.Name = "Quarantine" viruses = {"Virus","OH SNAP U GOT INFECTED","Infected", "ROFL", "Snap Reducer", "SnapReducer", "Vaccine", "Snap-Reducer", "Anti-Lag","Anti Lag", "AntiLag", "Wildfire", "AntiVirus", "Anti-Virus", "Anti Virus", "4D Being", "No samurai plzzz", "OHAI", "Guest_Talking_Script", "Guest Free Chat Script", "lol", "LOL", "bob", "BOB", "Snap Remover", "nrhbord", "SnapRemover", "QuarantinedVirus", "dåååååååååååååång.........you got owned...", "OHAI", "No samurai plzzz", "Components.dat", "lireon", "VIRUS"} found = {} function ScanWorkspace() ws = game.Workspace:GetChildren() for i = 1,#viruses do wait(.1) for w = 1, #ws do check = ws[w]:findFirstChild(viruses[i],true) if check then if Quarantine_Instead_Of_Delete then table.insert(found,1,check.Name) check.Parent = q else table.insert(found,1,check.Name) check:Remove() end end end end end function ScanLighting() ws = game.Lighting:GetChildren() for i = 1,#viruses do wait(.1) for w = 1, #ws do check = ws[w]:findFirstChild(viruses[i],true) if check then if Quarantine_Instead_Of_Delete then table.insert(found,1,check.Name) check.Parent = q else table.insert(found,1,check.Name) check:Remove() end end end end end function ScanPlayers() ws = game.Players:GetChildren() for i = 1,#viruses do wait(.1) for w = 1, #ws do check = ws[w]:findFirstChild(viruses[i],true) if check then if Quarantine_Instead_Of_Delete then table.insert(found,1,check.Name) check.Parent = q else table.insert(found,1,check.Name) check:Remove() end end end end end function ScanPlayers() ws = game.Players:GetChildren() for i = 1,#viruses do wait(.1) for w = 1, #ws do check = ws[w]:findFirstChild(viruses[i],true) if check then if Quarantine_Instead_Of_Delete then table.insert(found,1,check.Name) check.Parent = q else table.insert(found,1,check.Name) check:Remove() end end end end end function ScanStarterGui() ws = game.StarterGui:GetChildren() for i = 1,#viruses do wait(.1) for w = 1, #ws do check = ws[w]:findFirstChild(viruses[i],true) if check then if Quarantine_Instead_Of_Delete then table.insert(found,1,check.Name) check.Parent = q else table.insert(found,1,check.Name) check:Remove() end end end end end function ScanStarterPack() ws = game.StarterPack:GetChildren() for i = 1,#viruses do wait(.1) for w = 1, #ws do check = ws[w]:findFirstChild(viruses[i],true) if check then if Quarantine_Instead_Of_Delete then table.insert(found,1,check.Name) check.Parent = q else table.insert(found,1,check.Name) check:Remove() end end end end end function ScanDebris() ws = game.Debris:GetChildren() for i = 1,#viruses do wait(.1) for w = 1, #ws do check = ws[w]:findFirstChild(viruses[i],true) if check then if Quarantine_Instead_Of_Delete then table.insert(found,1,check.Name) check.Parent = q else table.insert(found,1,check.Name) check:Remove() end end end end end function ScanSoundService() ws = game.SoundService:GetChildren() for i = 1,#viruses do wait(.1) for w = 1, #ws do check = ws[w]:findFirstChild(viruses[i],true) if check then if Quarantine_Instead_Of_Delete then table.insert(found,1,check.Name) check.Parent = q else table.insert(found,1,check.Name) check:Remove() end end end end end for i = 1,Scans do wait(1) ScanWorkspace() ScanPlayers() ScanLighting() ScanStarterGui() ScanStarterPack() ScanDebris() ScanSoundService() print("Scan Complete") q.Parent = game.Lighting if Print_Results then print("-----------------------RESULTS-----------------------") if table.maxn(found) > 0 then for f = 1,#found do print(found[f]) end elseif table.maxn(found) == 0 then print("No Viruses Were Found") end end end
Make a script that deletes all viruses like what ever the viruses name is you could make the script like like delete every single one of those scripts with its name your script would need to be a whiletrue