Help with color changing gui overhead

So I want the overhead textcolor3 to be any color when it reaches a specific amount of value.

Here’s what I tried so far, which didn’t work:

if game.Players.player.leaderstats.Time == 50 then
	game.StarterPlayer.StarterCharacterScripts:FindFirstChild("Clone OverHead").TimeGui.TextLabel.TextColor3 = Color3.new(0, 255, 0)
end

can someone please help?

1 Like

It should be Color3.fromRGB(0, 255, 0), or Color3.new(0, 1, 0). Color3.new() takes in values from 0 to 1.

1 Like