Servo control with while

Yes this is my final projects, initially I had done it by using the delay command to stop the servo temporarily and the program continued for the next servo but I was asked again what if I used the while command, I had tried several while commands to stop one servo rotation and continue another rotation to the next servo but the command I use only stops the servo simultaneously and does not continue to the next servo rotation