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
To convert any brick color value you will have to use the property “Color” which can be manipulated in the following
1 | local brickValue = BrickColor.new( "Really red" ) --Getting the BrickColor |
2 | local color = brickValue.Color --Converting it to Color3 |
3 | print (color) -- Printing the Color3 Value |
Then you can just set the ImageColor3 like this
1 | gui.ImageLabel.ImageColor 3 = color |