Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why won't my brick color change?

I recently have begun working with Color3 values but it does not seem to work on brick colors and neither does this script below. Could someone please help me make its brickcolor really red.

L1.BrickColor = (Really Red)

2 comments

0

I'm not sure if this even qualifies as scripting. First off, is L1 even a set variable? Secondly, you have to use BrickColor.new("Really red").\

0

Yes L1 is a variable.

1 answer

✓ Accepted answer

Like NoahWillCode said, you can't set BrickColor values without using a BrickColor function.

What you should be doing is this:

L1.BrickColor = BrickColor.new("Really red")--Make sure the second word has no capitals

Color3's are the same, just instead using a Color3 function.

L1.Color = Color3.new(255,0,0)--parameters are amounts of Red,Green,and Blue
--BrickColors also have a "color" property (basically converting BrickColor into Color3)
local l2 = BrickColor.new("Really red")
L1.Color = l2.color

This discussion is preserved as it was. New answers, comments, and votes are closed.