Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How would i make 'Rainbow looping gui' that looks like ColorSequence?

Asked by
Valatos 166
8 years ago
Edited 8 years ago

Let's get straight into it. So i've been trying to make a frame do a rainbow loop, kinda like ColorSequence. I tried using ColorSequence on the BackgroundColor3, but that throws a error into my output, i couldn't find any questions about this, and i couldn't find it on the wiki either, the only thing i could find was the ColorSequence. I know this sounds like a request, but i can't find any way to find it ;-;

The wiki page i tried to find it

Sorry if this question was bad!

~jordikeijzers

1 answer

Log in to vote
2
Answered by
Decemus 141
8 years ago
Edited 8 years ago

It looks as though ColorSequence is only for the class ParticleEmitter. I may be wrong, but I don't see anywhere where it associates ColorSequence with a frame. Instead, I would try using Color3:lerp This is almost like tweening, where you have an objective and and the amount of steps needed. The syntax for this is Color3 Color3:lerp(Color3 goal, number alpha) and the wiki states, "Returns a Color3 interpolated between this Color3 and the goal by the fraction alpha."

You'll have to repeat this function once it finishes if you would like it to change colors over and over.

You may have to research the lerp() function deeper as well. Here's the wiki link for it.

0
Thanks! I'll accept you answer as soon as i tested it :P Valatos 166 — 8y
Ad

Answer this question