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

How would I make text that changes through a rainbow colour?

Asked by 6 years ago
Edited 6 years ago

So I'm wanting to create a Shop Gui and I want to title so fade through the rainbow. All help is appreciated. All links to Wiki articles are welcome too. I don't need anyone to make one for me, I just would like some guidance. Thanks.

2 answers

Log in to vote
0
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
6 years ago
Edited 6 years ago

A very easy way to make a rainbow effect is to use Color3.fromHSV. An example of it is below.

local SECONDS_PER_LOOP = 5
while true do
    Thing.TextColor3 = Color3.fromHSV((tick()/SECONDS_PER_LOOP)%1,1,1)
    wait()
end
0
Thanks so much! 6xxnoobxx6 -5 — 6y
Ad
Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

Insert a script into the text (i guess) Try using a loop,for example:while true do,while wait do. .then,use Color3.new()

thats the best i can do,if theres any errors,tell me so i can change them

.

0
This is a good start, but I was wondering if there was a way to fade between colours 6xxnoobxx6 -5 — 6y

Answer this question