Help Programming MBLOCK Robot?

You have a while loop that runs the motors as long as the distance is greater than 100cm. If the distance is 99cm the while loop ends and the motors are stopped. They will never start again because the other two while loops will never enter with a distance of 99cm, the robot will do just nothing at that distance.