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 » Scripters
Home Search
 

Re: InFEctioN?

Previous Thread :: Next Thread 
LeadStyle is not online. LeadStyle
Joined: 01 Aug 2012
Total Posts: 1322
15 Dec 2014 05:43 PM
What is this Infection script? How do you remove it? It makes the game lag and is annoying. I used f3x tools to build my game, and it all has 'InFEction'in every brick.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
15 Dec 2014 06:11 PM
Put this in the command bar

function clean(o, n)
for _, object in next, o:GetChildren() do
if object.Name:lower() == n:lower() then
object:Destroy()
else
clean(object, n)
end
end
end

clean(workspace, "infection")


If it doesn't work, make a free model of an infected brick so I can look at it
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
15 Dec 2014 09:49 PM
Sorry for the late reply, I didn't see you sent me a message

It didn't work because the virus renames itself,
I tested this, it works


Here it is on codepad
/FceBBBrF
Report Abuse
KOTwarrior is not online. KOTwarrior
Joined: 13 Jun 2012
Total Posts: 4376
16 Dec 2014 12:40 AM
or try this:

function _(a)
for c,d in next,a:getChildren'' do
if(d:isA[[RotateP]]) then
d:Destroy();
end;
_(d);
end;
end;
_(workspace);
Report Abuse
gamesmasr3000 is not online. gamesmasr3000
Joined: 13 Sep 2010
Total Posts: 69
16 Dec 2014 05:57 AM
Make a free model of the infected brick please.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 Dec 2014 03:03 PM
He already did, I already looked at it, I already tested my script and it gets rid of it (My second script)
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
16 Dec 2014 03:05 PM
just hate those name changing ones, must destroy them all...
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 Dec 2014 03:10 PM
I don't get why more viruses don't just pick a random name so it can't just use the table of names they have to destroy them

Or use common names, and use more than 1 name from the table (concat the strings together)

It would make getting rid of them a lot harder for most people
(Although you could always use script.Source to check whats in the script and destroy it if it matches the virus's script)
Report Abuse
DrakoNinjaMaster is not online. DrakoNinjaMaster
Joined: 17 Jul 2014
Total Posts: 168
16 Dec 2014 03:18 PM
Well, they choose random names. Making random strings should still be effective.
Report Abuse
DrakoNinjaMaster is not online. DrakoNinjaMaster
Joined: 17 Jul 2014
Total Posts: 168
16 Dec 2014 03:19 PM
Script Source is locked, you can't use it anymore.
It is very sad.

-DrakoNinjaMaster-
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
16 Dec 2014 03:22 PM
Yah, thats what I meant, thats why I said instead of picking from a table


function randomString(x)
local output = ""
for _ = 1, (x or 16), 1 do
output = output .. (math.random(3) == 1 and math.random(0, 9) or string[math.random(2) == 1 and "upper" or "lower"](string.char(math.random(97, 122))))
end
return output
end

script.Name = randomString(math.random(1, 100))

--do virus stuff
Report Abuse
DrakoNinjaMaster is not online. DrakoNinjaMaster
Joined: 17 Jul 2014
Total Posts: 168
16 Dec 2014 03:29 PM
Yeah, I know.
It is strange isn't it.
People don't usually make infections anymore since they are less effective.

-DrakoNinjaMaster-
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
16 Dec 2014 03:53 PM
command bar noobs

function recurse(obj, f)
for _, v in ipairs(obj:GetChildren()) do
f(v)
recurse(v, f)
end
end

recurse(game, function(obj)
if obj:IsA("Script") then
if obj.Source:lower():match("script.name") then
obj:Destroy()
end
end
end)


if you're making scripts which rename themselves then clearly you're doign something wrong
Report Abuse
DrakoNinjaMaster is not online. DrakoNinjaMaster
Joined: 17 Jul 2014
Total Posts: 168
16 Dec 2014 06:21 PM
Well, making scripts that change their names are great for making infections
Nobody does it for some reason.
That is all.

-DrakoNinjaMaster-
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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