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: HELP~~~~~~~~!!!!

Previous Thread :: Next Thread 
Firescrew is not online. Firescrew
Joined: 03 Aug 2012
Total Posts: 1484
17 Jan 2014 04:05 PM
for _, v in pairs(Workspace:GetChildren()) do
if v:IsA("Fire") then v:Destroy()
end
end
Report Abuse
BEART12 is not online. BEART12
Joined: 22 Oct 2008
Total Posts: 3190
17 Jan 2014 04:09 PM
I believe it is:

--for _, v in pairs(Game.Workspace:GetChildren()) do
Report Abuse
iWasted1000Robux is not online. iWasted1000Robux
Joined: 26 Oct 2013
Total Posts: 813
17 Jan 2014 04:09 PM
you realise what you put is exactly the same as OP.

#nerdsunited
Report Abuse
BEART12 is not online. BEART12
Joined: 22 Oct 2008
Total Posts: 3190
17 Jan 2014 04:11 PM
I thought you had to put(".Game") in front of it?
Report Abuse
meSmashsta is not online. meSmashsta
Joined: 31 Jan 2013
Total Posts: 1002
17 Jan 2014 04:11 PM
help!!!!*

^ what's actually the prob man?
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
17 Jan 2014 04:12 PM
Try using if v.ClassName == "Fire" then..
and if that dont work, there must be something else rong. ..
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
17 Jan 2014 04:12 PM
for _, v in pairs(Workspace:GetChildren()) do
if v and v:IsA("BasePart") and v:findFirstChild("Fire") then
v.Fire:Destroy()
end
end
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
17 Jan 2014 04:13 PM
Oh..dur. ..
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
17 Jan 2014 04:16 PM
hi = function(noob)
for i,v in pairs(noob:GetChildren()) do
if v:IsA("Fire") then v:Destroy() end
hi(v)
end

hi(workspace)
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
17 Jan 2014 04:19 PM
Xnite, problem is already solved, it was cuz he was check in the workspace, not parts(that have fire)
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
17 Jan 2014 05:09 PM
cant tell if troll or not
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
17 Jan 2014 05:20 PM
for i,v in pairs(game.Workspace:GetChildren()) do
if v.ClassName == "Fire" then
v:Destroy() end
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