This is a simple way to change a brick's color in Roblox via Roblox Studio.

Steps

  1. 1
    Open Roblox studio up.
  2. 2
    Insert a brick.
    Advertisement
  3. 3
    Go to paint tool, and look for a color you like.
  4. 4
    Remember the name that pops up.
  5. 5
    Make a script inside brick
  6. 6
    Enter this in a script: script.Parent.BrickColor=BrickColor:("COLOR") NOTE: Change "COLOR" to whatever color you want like Pearl or Really red. NOTE2: To make a random color loop,then enter this code:
    • While true do
    • Script.Parent.BrickColor = BrickColor.Random()
    • Wait(Time) --Replace to what you want, for example, 0.1
    • End
  7. 7
    Enjoy.
  8. Advertisement

Community Q&A

  • Question
    How can I create a brick, then instantly change its material?
    Community Answer
    Community Answer
    brick.Material = " " Put material name between the " ".
  • Question
    How would one make a button that changes a brick color in Roblox Studio?
    Community Answer
    Community Answer
    Place a part and make it look like a button and insert a click detector into the part. Then insert a script into the part (not click detector). In the script, delete everything and declare variables in line 1: local ClickDetector = script.Parent.ClickDetector and line 2: local Part = script.Parent. Line 3 is a connection statement to call the function when an event; in this case, the part is clicked to run certain functions: ClickDetector.MouseButton1Click:Connect(function(). Line 4 changes the brick color to a random brick color: Part.BrickColor = BrickColor.Random(). Line 5 ends the function: end)
  • Question
    How can I change the color of a block by clicking a button?
    Tim Newman
    Tim Newman
    Community Answer
    Create the button and link it to an onClick() script that changes the block's color.
Advertisement

Warnings

  • The color name is case sensitive, so copy it exactly like for example: if you want "Really red" then type in "Really red", not "really red"
    ⧼thumbs_response⧽
Advertisement

Things You'll Need

  • A computer
  • Roblox Studio

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 35,236 times.
28 votes - 35%
Co-authors: 5
Updated: July 24, 2020
Views: 35,236
Categories: Roblox
Advertisement