x = script.Parent z = script.Parent.TextColor3 while true do x.z.new("White") wait(.1) x.z.new("Black") wait(.1) end
There is no use for z.
x = script.Parent while true do x.TextColor3 = Color3.new(255 ,255 ,255) --White Color wait(.1) x.TextColor3 = Color3.new(0 ,0 ,0) -- Black Color wait(.1) end
Or simply
while true do script.Parent.TextColor3 = Color3.new(255 ,255 ,255) --White Color wait(.1) script.Parent.TextColor3 = Color3.new(0 ,0 ,0) -- Black Color wait(.1) end
Hope this helps and works