function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
counter = 0
while wait(0.1)do
script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
counter = counter + 0.01
end
COMMUNITY QUESTION
My script broke, its supposed to shift the colors so its a rainbow but it does nothing, why??
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

7 comments
is it for a gui, or for a part?
you didnt call the function
you didnt call the function
gui
Are you also trying to change the background, or the text, because its set to the text color 3
im trying to do text
try putting adding the counter before setting the color 3 value