|
| 02 Oct 2014 05:19 AM |
children = Workspace:GetChildren(); for k, child in pairs(children) do if child:IsA("Part") then child.BrickColor = BrickColor.new("Br. yellowish green"); wait(5) fire = Instance.new("Fire", child); fire.Size = 5; fire.Heat = 20 wait(1) fire.Enabled = true; wait(6); child:Destroy(); end end |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 02 Oct 2014 06:27 AM |
| Try using the number for the colour instead of the name. People often have issues with the names because something like they don't have capital letters |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 02 Oct 2014 06:28 AM |
| ... Why would you want to destroy all parts in the Workspace anyway? |
|
|
| Report Abuse |
|
|
|
| 02 Oct 2014 06:40 AM |
Sorry, I didn't specify. The fire part isn't working. I want to make "Fire" and parent it on every child in Workspace, but it doesn't seem to be working.
"That's the most memorising thing I have ever looked at." ~talkbar || "It's quote simple." -AX94 |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 02 Oct 2014 07:46 AM |
Sorry, can't really help you there ^^' I haven't used Fire in a loonnnggg time, so I don't know what goes on. |
|
|
| Report Abuse |
|
|
|
| 02 Oct 2014 07:48 AM |
| OK but does this script function? I mean it doesn't give you errors? |
|
|
| Report Abuse |
|
|
|
| 02 Oct 2014 08:18 AM |
It doesn't seem to give me errors, and I'm just experimenting with scripts that destroy. :] Obviously I'm not planning on spreading them, I just want to practice scripting.
"That's the most memorising thing I have ever looked at." ~talkbar || "It's quote simple." -AX94 |
|
|
| Report Abuse |
|
|