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

1 comment
It should be in a LocalScript if it is running on the client as a descendant of PlayerGui.