You can not have two instances of the loop function in one program. Copy all the code from one and put it at the end of the other. The two codes will run one after the other. You might want to rethink your use of delays, and why you have not used a for loop for all of those servo control lines.