It is in the void loop.
No, it isn't. It is in the loop function. void is the return type.
what i need help with is the programming this project so that only when 9 buttons are all pushed at the same time the servo will turn and when all of them are not being pushed it turns back to 0 degrees.
So, you need 9 more switches. Then, you need to read the 9 more switch states, and use an if statement with a bunch of &&s in it.
if (digitalRead(pushButton2) == true)
The digitalRead() function does NOT return true. Do not pretend it does.