Self balancing robot but not balance

gosh, this might be kinda embarrasing to say but my friends have been using some a.i to help with the coding and the result is to add that "mpu6050_6Axis_MotionApps20" library