Good morning to all, I am trying to change to my ImageLabel the color of its image (ImageColor3) by the Color of a Team but I have an error that says "(Color3 expected, got BrickColor)" I know what the Error refers to, but can someone tell me what I can do to change the color of the image by the Color of a Team please ... Thanks for reading
✓ ANSWER ACCEPTED
How can I change ImageColor3 to a BrickColor value?
1 answer
✓ Accepted answer
To convert any brick color value you will have to use the property "Color" which can be manipulated in the following
local brickValue = BrickColor.new("Really red") --Getting the BrickColor
local color = brickValue.Color --Converting it to Color3
print(color) -- Printing the Color3 Value
Then you can just set the ImageColor3 like this
gui.ImageLabel.ImageColor3 = color
This discussion is preserved as it was. New answers, comments, and votes are closed.
