I'm trying to make an intro for my game but i dont know how to work it. Explanation: I want the background to change colors softly and smoothly, if you guys can please give me a hand that would great!
for i = 1, 51 do
g = i*5/255
script.Parent.Background.BackgroundColor3 = Color3.new(255/255, g, 255/255)
wait()
end
for i = 1, 51 do
c = i*5/255
script.Parent.Background.BackgroundColor3 = Color3.new(255/255, 1, c)
wait()
end

1 comment
You never divided g or c by 255 unlike your other Color3 Values