Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[GUI Rotation] Image Label. No Output :/ Please Help?[Un - Answered]

Asked by 10 years ago

Hello, And Thanks For Reading! Im trying to make a ImageLabel Rotate Back and Forth! Here Is my script! Please Help!

while true do
    wait(0.01) 
    script.Parent.Rotation = script.Parent.Rotation +1
    if script.Parent.Rotation == 10 then 
        script.Parent.Rotation = script.Parent.Rotation -1
        if script.Parent.Rotation == -10 then 
            script.Parent.Rotation = script.Parent.Rotation +1
        end
    end
end

Answer this question