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

How can I get a Color3 value from a BrickColor value?

I am trying to color a TextLable's text with the players team color, is there any way to do this? This is my current script, however it just colors it black:

script.Parent.Text = game.Players.LocalPlayer.Name

while wait() do
	script.Parent.TextColor3 = Color3.new(game.Players.LocalPlayer.TeamColor)
end

This is a local script!

1 answer

✓ Accepted answer

BrickColor values have a "Color" property, which is the equivalent Color3.

script.Parent.TextColor3 = game.Players.LocalPlayer.TeamColor.Color

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