That was answer was complicated. This will be easier. To change a bricks BrickColor you use the code BrickColor.new("ColorsNameinHere"). An example of this is
1 | game.Workspace.BrickName.BrickColor = BrickColor.new( "Really red" ) |
2 |
3 | --you can also use Color3.new() |
4 |
5 | game.Workspace.BrickName.BrickColor = Color 3. new( 0 , 0 , 0 ) --0,0,0 is black |
You could use BrickColor.new
1 | game.Workspace.Part.BrickColor = BrickColor.new( "Blue" ) |
Or, you could use Color3.new
1 | game.Workspace.Part.BrickColor = Color 3. new( 0 , 0 , 1 ) |
There are a variety of ways to accomplish this, one specific way is changing the parts BrickColor property by utilizing one of these. BrickColor.new(StringColor) BrickColor.Random() BrickColor.Red() BrickColor.Blue() BrickColor.Green() BrickColor.Black() BrickColor.White()
An Example;
1 | local Part = Instance.new( "Part" ,game:FindService( "Workspace" )) |
2 | Part.BrickColor = BrickColor.new( "Alder" ) |
You can actually do this without scripting, too. If you click the brick in studio, and look at it's appearance in properties, just change the color from there.