Just want to shorten this, and make it more efficient for future use.
while true do
for i = 0,2,0.01 do
script.Parent.BackgroundColor3 = script.Parent.BackgroundColor3:lerp(Color3.new(255/255, 26/255, 225/255), i / 100)
wait()
end
for i = 0,2,0.01 do
script.Parent.BackgroundColor3 = script.Parent.BackgroundColor3:lerp(Color3.new(30/255, 41/ 255, 255/255), i / 100)
wait()
end
for i = 1,2,0.01 do
script.Parent.BackgroundColor3 = script.Parent.BackgroundColor3:lerp(Color3.new(43/255, 170/255, 255/255), i / 100)
wait()
end
for i = 1,2,0.01 do
script.Parent.BackgroundColor3 = script.Parent.BackgroundColor3:lerp(Color3.new(43/255, 255/255, 50/255), i / 100)
wait()
end
for i = 1,2,0.01 do
script.Parent.BackgroundColor3 = script.Parent.BackgroundColor3:lerp(Color3.new(245/255, 255/255, 46/255), i / 100)
wait()
end
for i = 1,2,0.01 do
script.Parent.BackgroundColor3 = script.Parent.BackgroundColor3:lerp(Color3.new(255/255, 0/255, 0/255), i / 100)
wait()
end
end
