Hello! Im trying to make It so my Image label will change colors, when I use this script
while true do
script.Parent.BackgroundColor3 = Color3.new(1,0,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.2,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.3,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.4,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.5,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.6,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.7,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.8,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0.9,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.9,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.8,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.7,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.6,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.5,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.4,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.3,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.2,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.1,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.2)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.3)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.4)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.5)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.6)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.7)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.8)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,0.9)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,1,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.9,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.8,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.7,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.6,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.5,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.4,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.3,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.2,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0.1,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.1,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.2,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.3,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.4,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.5,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.6,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.7,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.8,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(0.9,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,1)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.9)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.8)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.7)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.6)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.5)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.4)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.3)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.2)
wait(0.01)
script.Parent.BackgroundColor3 = Color3.new(1,0,0.1)
wait(0.01)
It doesnt change colors, I need help despritly