Skip the loop by using the autoPilotOn variable inside the condition.
autoPilotOn
Make sure to pick autopilotOn.
autopilotOn