generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: My Virus Script is having difficulty dealing with something

Previous Thread :: Next Thread 
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
18 Feb 2014 07:15 PM
Usually this script gets rid of those pesky virus scripts when experimenting with free models(its good to learn new things right?) but not it just wont destroy a certain virus completely anymore.
Heres the script so far. It works for everything but these 3 keep coming back just after it finishes:INfecTION,inFECtion, and Script......Or is it... :for some reason. Is there anyway to ensure that it removes them without it coming back again.
Heres the Script:
ScanAt = game.Workspace

Objects = {}

local m = Instance.new("Hint")
m.Parent = script
m.Text = "bluedragon463's Virus Remover Loaded"

function geth(ob)
for _,v in pairs (ob:GetChildren()) do
table.insert(Objects,v)
geth(v)
end
end
geth(ScanAt)
m.Text = "Number of Objects in "..ScanAt.Name..": "..#Objects


Virus = 0
Viruses = {}
theKnown = {"Anti-Lag","Guest_Talking_Script","Fire","dåååååååååååååång.........you got owned...", "mf04z","roblox", "Deth 2 te samurai","Vaccine", "deeeeeeeeeeeeeeng.........you got owned...","Shout","ScriptBuild","HopperBin", "Hello","Ban","Balefire", "BreakJoints","KillAll", "ViVRuS" ,"Infected" , "YOU GOT INFECTED XD XD XD","Script......Or is it...", "4D Being", "Rofl", "do you liek waffles", "harmless little scripty","1x1x1x1ify","Chaotic","Spreadify","no samurai plzzzzzz","Worm","ZXMLFCSAJORWQ#)CXFDRE)$#Q)JCOUSEW#)@!HOIFDS(AEQ#HI*DFHRI(#FA","Spread","INfecTION","inFECtion","Roblox made this","Virus"}
function scan(objection)
for _,v in pairs (theKnown) do
if string.lower(v) == string.lower(objection.Name) then
Virus = Virus + 1
table.insert(Viruses,objection)

end
end
end
for nou = 1,#Objects do
scan(Objects[nou])
end

m.Text = "Scan Complete! "..Virus.." Viruses Detected!"
wait(5)
for _,v in pairs (Viruses) do
v:Remove()
end
if Virus >= 1 then
m.Text = Virus.." Viruses Removed!"
wait(5)
end
m:Remove()

Feel Free to provide solutions..
Report Abuse
StackEnd is not online. StackEnd
Joined: 20 Oct 2008
Total Posts: 672
18 Feb 2014 07:16 PM
What a misleading title.

game.Players.StackEnd:CreateSiggy()
Report Abuse
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
18 Feb 2014 07:16 PM
Opps i forgot the anti- in it sorry XD
Report Abuse
Bluedragon463 is not online. Bluedragon463
Joined: 10 Apr 2009
Total Posts: 602
18 Feb 2014 07:19 PM
Just ignore this thread, remake it i accidently left out some info about the issue
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image