Connecting Servo Motor with MPU6050

It's about time you posted the latest version of the code you are using. Trying to work out what is wrong without it is hopeless.

Steve