OK i need super good code writers to help me [beginer project]

So,you need to declare "myservo" in scope.
I'd help you more, but I can't see your code.