Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 12 Oct 2015 10:01 PM |
| Alright I have a brick I'm wanting to retrieve the BrickColor but turn a fire I have into that BrickColor, but it wants a Color3 value. So how would I fix this? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 12 Oct 2015 10:01 PM |
Add .Color.
BrickColor.new("Really red").Color |
|
|
| Report Abuse |
|
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 12 Oct 2015 10:02 PM |
| print(BrickColor.new(69).Color) |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 12 Oct 2015 10:04 PM |
like this is the script. i'm retrieving a brickcolor from my torso. fire needs a color3. kinda confused.
function onTouch(hit) if hit.Parent:FindFirstChild("HumanoidRootPart") then local color = hit.Parent.Torso.BrickColor; for i, v in pairs(workspace.Circuit:GetChildren()) do v.BrickColor = color; end game.Lighting.FogColor = color.Color; wait(1) game.Workspace.Torch.Glow.Fire.Color = color; end end
script.Parent.Touched:connect(onTouch)
|
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 12 Oct 2015 10:47 PM |
game.Workspace.Torch.Glow.Fire.Color = color.Color
|
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 12 Oct 2015 10:59 PM |
| @cnt i tried that and it errors for some reason |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2015 10:59 PM |
What's the error?
-The [Guy] |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|