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: Script that removes all viruses: fire

Previous Thread :: Next Thread 
RadecMortem is not online. RadecMortem
Joined: 19 Oct 2010
Total Posts: 13988
09 Nov 2014 02:42 PM
So I've dug up an old place I've made. It has a fire virus.

I had a script a while ago that automatically removed removed these. Does anyone have it? If so, please post it.

~Get Radekt
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
09 Nov 2014 02:43 PM
It depends on the conditions. Antivirus scripts can't remove every kind of everything, it would be easier to make it yourself, since it is only, like, three lines.
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
09 Nov 2014 02:45 PM
function cleanup(p)
for i,v in pairs(p:GetChildren()) do
if v:IsA("Fire") then
v:Destroy()
else
cleanup(p)
end
end
end

cleanup(workspace)
Report Abuse
TGazza is not online. TGazza
Joined: 16 Jan 2008
Total Posts: 242
09 Nov 2014 02:52 PM
hey i've just came across your post and ive got the plugin you may need its here:
http://www.roblox.com/Guardian-Angel-Defender-V0-6-6-Finally-item?id=164968707

it can remove fire,3d beings,youvebeenowned... things,
basically anything that would be considered a virus or something that slows down a place

It also cleans your place from blank objects, when i say blank i mean objects like Decals without any set TextureId's or specialmeshes without meshIds etc.. get removed

If you want to check out my plugin you can ive been Vblogging it on my youtube channel, heres a link to the playlist :)
https://www.youtube.com/playlist?list=PLcR-0uLOOm6vdrcrfQqCrwGs3MyarAbQU

hope this helps ya! and if you find any bugs let me know! and ill update squish em :D
Report Abuse
KOTwarrior is not online. KOTwarrior
Joined: 13 Jun 2012
Total Posts: 4376
09 Nov 2014 03:21 PM
my version:

function isClass(o,c)
for a,b in next,c do
if(o.className==b) then return true;
end;
return false;
end;
function _(c,f)
for a,b in next,f:children'' do
if(isClass(b,c)) then
b:Destroy();
end;
_(c,b);
end;
end;

_({'RotateP','Fire'},workspace);
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
09 Nov 2014 03:27 PM
Guys, c'mon.

virus = game:FindFirstChild ("Fire", true)

while virus do
if virus:FindFirstChild ("Spread") then
virus:Destroy ()
end
end
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
09 Nov 2014 03:28 PM
i hope dats a troll
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
09 Nov 2014 03:37 PM
No, my script is legit...
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
09 Nov 2014 03:37 PM
repeat -facedesk- until nil
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
09 Nov 2014 03:38 PM
oye, chico.
i Usala!
Report Abuse
analyzewannabe is not online. analyzewannabe
Joined: 08 Nov 2014
Total Posts: 21
09 Nov 2014 03:39 PM
iiess he is totally ocrrect and his script works 100% stop bieng a troll
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
09 Nov 2014 03:43 PM
I'm not even trolling.

It works! Don't you know about the secondary argument for FindFirstChild?
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
09 Nov 2014 03:44 PM
@max the only reason they'd assume you're trolling is because you forgot to put a wait() in your loop


if it's not that, then they're stupid
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
09 Nov 2014 03:44 PM
It wouldn't work, it would only delete 1 fire.
And if you were to remove all the fires, any script that created it will do it again.
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
09 Nov 2014 03:44 PM
dat only runs once cus it only gets one fire
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
09 Nov 2014 03:47 PM
right. I only even created the variable because I was tired of writing game:FindFirstChild ("Fire", true) over and over again.

Here's a revision:
while game:FindFirstChild ("Fire", true) do
if game:FindFirstChild ("Fire", true):FindFirstChild ("Spread") then
game:FindFirstChild ("Fire", true):Destroy ()
end
end
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
09 Nov 2014 03:49 PM
I don't see why you don't just do

while true do
game:FindFirstChild("Fire", true):Destroy();
end
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
09 Nov 2014 03:49 PM
because not all fire is evil, cnt.

Not all fire is evil
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
09 Nov 2014 03:50 PM
ya it is

u must destroy all fire

dis is the water revolution
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
09 Nov 2014 03:50 PM
'Script that removes all viruses: fire'
OP says fire is a virus, and wants to remove all viruses.
I'm giving what the OP wants, not what I think is right D:
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