Hello. I've been recently trying to rotate my gui to make a refresh image, but even with the help of the internet I cannot find out how to do it. I've looked at several scripts :
while true do --Create a loop so it doesn't stop.
wait(1) --Keep this here or else the script will lag.
script.Parent.Rotation = script.Parent.Rotation +.5 --Put this higher to increase the speed!
end
But it doesn't work anymore, can someone help me?

1 comment
I'd suggest changing lines 1 and 2 into "while wait() do" for 2 reasons. 1. Your loop is very simple, 2. if you leave wait() blank, then it'll make a 1/30th of a second. Most animation is animated at 30 fps (1/30th a second)!