That code won't verify or Auto Format. It may just be a copy/paste problem when you posted it or your program may actually be wrong. If you put each curly bracket on its own line, which is a good habit to get into, it is easy to see the problem because the left/right curly brackets don't match
void loop()
{
millis();
bstate1 = digitalRead(button1);
if(bstate1 != laststate1)
{
if(bstate1 == HIGH)
{
time1 = millis();
servo1.write(100);
}
}
laststate1 = bstate1;
condition1 = millis() - time1;
if (condition1 == 1000)
{
Serial.print("condition = ");
Serial.println(condition1);
servo1.write(0);
count1--;
}
That is the end of the code that you posted. Is it the end of your program ?