I have this super basic script, but for some reason it doesn't work. It is supposed to rotate an image label, but it does nothing with no errors.
for i = 1,180 do script.Parent.ImageButton.Rotation = script.Parent.ImageButton.Rotation - 1 wait(0.1) end
for i = 1,180 do script.Parent.ImageButton.Rotation = script.Parent.ImageButton.Rotation - 1 wait(0.1) i = i + 1 end