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: Deleting An Infected Script

Previous Thread :: Next Thread 
darkjanggo is not online. darkjanggo
Joined: 06 Apr 2012
Total Posts: 119
07 Jun 2014 03:19 PM
In my game "RoBeasts: Gondola" I tried using 2 free models, (1 of them wasn't infected) but the other was a script for a lava block, because I don't know how to script... at all... anyways, does anybody know how to delete it?
Report Abuse
darkjanggo is not online. darkjanggo
Joined: 06 Apr 2012
Total Posts: 119
07 Jun 2014 04:17 PM
Bump
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
07 Jun 2014 04:37 PM
No, just no.
Report Abuse
AMasterProgrammer is not online. AMasterProgrammer
Joined: 02 Apr 2013
Total Posts: 1608
07 Jun 2014 05:28 PM
thing is you dont have to be able to script to remove a lava block.
Report Abuse
darkjanggo is not online. darkjanggo
Joined: 06 Apr 2012
Total Posts: 119
07 Jun 2014 05:50 PM
Amaster I added the block because I couldn't script, and I removed the block but the script is still there
Report Abuse
EchoReaper is online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
07 Jun 2014 05:52 PM
then delete the script. what are you? dumb?
Report Abuse
darkjanggo is not online. darkjanggo
Joined: 06 Apr 2012
Total Posts: 119
08 Jun 2014 11:38 AM
It wont LET ME delete the script.
Report Abuse
darkjanggo is not online. darkjanggo
Joined: 06 Apr 2012
Total Posts: 119
08 Jun 2014 11:42 AM
Nvm I'll just rebuild it; better.
Report Abuse
taklefootballstud is not online. taklefootballstud
Joined: 29 Jul 2010
Total Posts: 64
09 Jun 2014 02:57 PM
I have that problem, You can delete the script INSIDE of infection so the Infection tab does nothing.
Report Abuse
jacoblightfoot is not online. jacoblightfoot
Joined: 21 Jan 2012
Total Posts: 1304
09 Jun 2014 05:09 PM
If you ever run into infected spreads, etc, this will always work. Read my tutorial I typed up if you want more infomation.
Tutorial: http://www.roblox.com/Maximum-Protection-V1-item?id=155838524

And here's a script that would help remove anything that is in a workspace that would spread or string -- function killinf(bin) local items = bin:GetChildren() for i = 1, #items do if items[i].Name == "PLACE THE INFECTION NAME HERE" then items[i]:Destroy() else local other = items[i] killinf(other) end end end killinf(workspace)
Report Abuse
Kaytje10 is not online. Kaytje10
Joined: 24 Oct 2013
Total Posts: 39
09 Jun 2014 05:11 PM
for i,v in pairs(game.Workspace:GetChildren()) do
if v.Name == "inFECtion" then
v.Destroy()
end
end

Run this script in command bar aand its gone!! :DDD
Report Abuse
EchoReaper is online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
09 Jun 2014 05:24 PM
for _,v in pairs(workspace:GetChildren()) do
if v.Name ~= "INFECTIONNOOB" then
v:Destroy()
end
end

Srsly why do people use game.Workspace? Are they stupid?
Report Abuse
AMasterProgrammer is not online. AMasterProgrammer
Joined: 02 Apr 2013
Total Posts: 1608
09 Jun 2014 06:10 PM
uhm, just looping through workspace probably wont help you, most infections dont base themselves in workspace.



function recurse(bin)
for i, v in pairs(bin:GetChildren()) do
if v:IsA("Fire") then
if v:FindFirstChild("Spread") ~= nil then
v:Destroy()
end
else
recurse(bin)
end
end
end

recurse(workspace)
Report Abuse
TheLuaWeaver is not online. TheLuaWeaver
Joined: 09 Feb 2010
Total Posts: 1504
09 Jun 2014 06:48 PM
repeat game:FindFirstChild("Spread",true):Destroy() until gone -- relies on erroring to halt! Science!
Report Abuse
AMasterProgrammer is not online. AMasterProgrammer
Joined: 02 Apr 2013
Total Posts: 1608
09 Jun 2014 07:37 PM
@lua

or even better

repeat game:findFirstChild("Spread", true).Parent:Destroy() until gone -- o3o

-- also removes the fire
Report Abuse
TheLuaWeaver is not online. TheLuaWeaver
Joined: 09 Feb 2010
Total Posts: 1504
09 Jun 2014 07:43 PM
Why would you do that?
Report Abuse
AMasterProgrammer is not online. AMasterProgrammer
Joined: 02 Apr 2013
Total Posts: 1608
09 Jun 2014 07:55 PM
because the fire is what lags up the game
Report Abuse
TheLuaWeaver is not online. TheLuaWeaver
Joined: 09 Feb 2010
Total Posts: 1504
09 Jun 2014 07:57 PM
There's fire? I don't often get infected with free model viruses *cough ever cough*, so I wouldn't know.
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
10 Jun 2014 07:34 AM
This virus has been here for years, yet people still fall prey to it.
Report Abuse
eletrowiz is not online. eletrowiz
Joined: 08 Dec 2008
Total Posts: 12438
10 Jun 2014 07:47 AM
I wonder who the devious person is that came up with it.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
10 Jun 2014 09:36 AM
'fire virus' is just a mishap; someone made an actual spreading fire, but some how some way it ended up spreading everywhere.
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