Panda01:
Hi bms001, the mpu 6050 works even though the interrupt function is removed.
So if you have gone from code where the mpu is working to code where the mpu is not working (and by 'working' I'm assuming you mean something like it is consistently outputting values to the arduino with no overflow issue etc) then you should go back to the point where it worked and build up from there, checking after each change that it still 'works'. Basically what Southpark suggested in the previous post. (Also check the suggestion about delays)
Panda01:
The pulseIn function is needed to allow me to take in the pulse from the receiver and sent it to the flight controller even though I removed the pulseIn function as mentioned I wasn't able to receive the result from the MPU 6050 and it kept printing "FIFO overflow".
I have not used the pulseIn approach myself so I am only guessing but you may want to change this in the future if it causes problems. Perhaps if your receiver is sending the pulses very frequently it might be ok? If not, then this example shows how to read pulses with interrupts instead.