Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't my brick color change?

Asked by 8 years ago

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)
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").\ NoahWillCode 370 — 8y
0
Yes L1 is a variable. Conmmander 479 — 8y

1 answer

Log in to vote
2
Answered by 8 years ago

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
Ad

Answer this question