Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a smoothly changing text label?

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!

1 answer

✓ Accepted answer

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.

And for your problems with TweenService, take this!!!

1 comment

0

Aw, I'm stupid!!! Thank you LOL!!

This discussion is preserved as it was. New answers, comments, and votes are closed.