How can i change a brick's color?
Change brick's color?
5 answers
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
game.Workspace.BrickName.BrickColor = BrickColor.new("Really red")
--you can also use Color3.new()
game.Workspace.BrickName.BrickColor = Color3.new(0,0,0) --0,0,0 is black
You could use BrickColor.new
game.Workspace.Part.BrickColor = BrickColor.new("Blue")
Or, you could use Color3.new
game.Workspace.Part.BrickColor = Color3.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;
local Part = Instance.new("Part",game:FindService("Workspace"))
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.
try this
script.Parent.BrickColor = BrickColor.Random()
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I know how to do that, but i need a script to do that for me.
Oh, ok.