For starter
Serial.begin(9600);
myServo.attach(10); // Pin Connected To Servo
is outside setup().
There might be more wrong.
For starter
Serial.begin(9600);
myServo.attach(10); // Pin Connected To Servo
is outside setup().
There might be more wrong.