So I'm making a game and I want the logo's text color to change randomly every .2 seconds, so the whole thing is flashing.
Here's the script:
while true do
local num1 = math.random(0, 255)
local num2 = math.random(0, 255)
local num3 = math.random(0, 255)
script.Parent.TextColor3 = Color3.new(num1, num2, num3)
wait(.2)
end
It's very confusing what happens. The text color changes once, and it always turns white. I'm totally confused with it, because even when I go to the properties, after it's text color has changed white, it still says that it's at the default color. So, anyway, I have absolutely no what's up. If anyone could help figure out what's wrong, it'd be appreciated.
