Okay so I am having a problem where my script will work at changing the text color to red, but when it tries to change it back to blue it doesn't set it back to blue, it sets it to white. The color code that it gets changed to instead of 76, 247, 255 is 19380, 62985, 65025.
local length = string.len("11223344556677889911223344556677889911223344556677889911223344556"); if length == nil then length = 65; end; while wait(0.01) do if string.len(script.Parent.Text) > length then script.Parent.TextColor3 = Color3.new(255, 0, 0); else script.Parent.TextColor3 = Color3.new(76, 247, 255); end; end;
Color3 Values that are not 0 or 255 must be divided by 255:
local length = string.len("11223344556677889911223344556677889911223344556677889911223344556"); if length == nil then length = 65; end; while wait(0.01) do if string.len(script.Parent.Text) > length then script.Parent.TextColor3 = Color3.new(255, 0, 0); else script.Parent.TextColor3 = Color3.new(76/255, 247/255, 255); end; end;