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: From BrickColor to Color3

Previous Thread :: Next Thread 
Optimxl is not online. 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 is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Oct 2015 10:01 PM
Add .Color.

BrickColor.new("Really red").Color
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
12 Oct 2015 10:02 PM
print(BrickColor.new(69).Color)
Report Abuse
Optimxl is not online. 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 is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:07 PM
b1
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:09 PM
b2
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:10 PM
b3
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:12 PM
b4
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:15 PM
b5
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:18 PM
b6
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:26 PM
b7
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:31 PM
b8
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:37 PM
b9
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 10:39 PM
b10
Report Abuse
cntkillme is not online. 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 is not online. 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
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
12 Oct 2015 10:59 PM
What's the error?

-The [Guy]
Report Abuse
Optimxl is not online. Optimxl
Joined: 26 Feb 2011
Total Posts: 9430
12 Oct 2015 11:19 PM
nvm fixed it
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