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

How would I go about changing ImageColor3 to TextColor3?

script.Parent.MouseButton1Click:Connect(function()
	
	local Name = script.Parent.Parent.Parent.Parent.Parent.Parent.Name
	local Player = game.Workspace:FindFirstChild(Name)
	
	Player.Head.Rank.Username.TextColor3 = Color3.fromRGB(script.Parent.Parent.ColourDisplay.ImageColor3)
	
end)

the script sets a players rank colour based on a gui colour however the colour of the rank just turns to black when the script is ran

1 answer

✓ Accepted answer

Since they're both Color3 values, you can just do

Player.Head.Rank.Username.TextColor3 = script.Parent.Parent.ColourDisplay.ImageColor3

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