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

how i change the color of a bloc?

i heard you can usee color3.fromRGB to get color.
local p = workspace.Part
p.Color = Color3.fromRGB(24,12,43)
help please

2 answers

✓ Accepted answer

Color3 values are a seperate value. You can use "BrickColor" to determine brick color values.

local p = workspace.Part
p.BrickColor = BrickColor.new(24,12,43)

1 comment

0

i just keep reloading ur profile cause you're always asking questions

Put this script in a part

local p = script.Parent
p.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))

3 comments

0

it's a brick tho? brickcolor?

0

You can change brick's color with color3 but you need to make sure to do brick.Color3 = Color3...

0

No youre wrong as well

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