This is really getting old! Having People View A Simple Script and Not Responding. No wiki article no examples no help at all! If this is a scripting help site where is the 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

4 comments
I don't think this is quite what he wanted. I'm guessing he wanted it to move back and forth between -10 and 10 -- this will just keep spinning but pause momentarily at 10 degres.
Yea thats what I wanted Blue!
I have edited the script to what BlueTaslem has described.
Okay Thanks!