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

How do I properly assign a Color3 value that I am getting from Team.TeamColor?

I have tried making the background of a TextLabel go the TeamColor of a Team.

TextLabel.BackgroundColor3 = Color3.new(Team.TeamColor.Color)

Just changes the color to [0, 0, 0] when the Brickcolor is Medium red, or anything else.

1 answer

✓ Accepted answer

You don't need to create a new Color3.new() value for this. All you have to do is just:

TextLabel.BackgroundColor3 = Team.TeamColor.Color

No need to add a Color3.new() since Team.TeamColor.Color is already a Color3 value.

1 comment

0

Wow. Thanks, works. Thanks so much. I couldn't find anything else on it anywhere.

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