1

# How do I make a smoothly changing text label?

2Loos 145
3 months ago

First of all, the script I wrote doesn't even work, does anyone have a fix for this?

wait(1)
local textcolor = script.Parent.TextColor3
while true do
textcolor = Color3.new(1, 0, 0)
wait(1)
textcolor = Color3.new(1, 0.470588, 0.0941176)
wait(1)
textcolor = Color3.new(1, 1, 0)
wait(1)
textcolor = Color3.new(0, 0.666667, 0)
wait(1)
textcolor = Color3.new(0, 0.666667, 1)
wait(1)
textcolor = Color3.new(0.333333, 0, 1)
wait(1)
textcolor = Color3.new(0, 0, 1)
wait(1)
end


Next, how do I make it do this smoothly? I don't know how to use "Tweenservice." Please help!

This made me cackle! It does work, man. The problem here is that you forgot that Color3s RGB value can range from 0,0,0 to 255,255,255. It changes color, but it's just too dark for you to notice!
For example, a really green color can be defined as 0,255,0. Red as 255,0,0 and blue as 0,0,255. 0,0,0 is the darkest possible, and 255,255,255 is the brightest.