Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I need help virus took over all my games?

Asked by 8 years ago

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?

2
It's probably a free model you used or someone did a prank on your game if they helped you make the game EzraNehemiah_TF2 3552 — 8y

3 answers

Log in to vote
2
Answered by 8 years ago

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.

Ad
Log in to vote
1
Answered by 8 years ago

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

Log in to vote
-2
Answered by
duckyo01 120
8 years ago

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

0
Yes i tried reverting it to when it was first made and you may not believe me but i did not use any free models it just attacked my game but ill try the script ebayminer126 0 — 8y

Answer this question