lil help please

while(x = false)

Why are you assigning false to x in the expression? == is the equality test operator, not =.

 unsigned long Task1Time = millis();
  if (Task1Time >= 0){

By the time this code gets executed, millis() will return a non-negative, non-zero value. Therefore this will ALWAYS be true. Seems silly to test an expression that can not possibly be false.

Running an infinite loop inside an infinite loop is pointless.

You do not have a matching number of } for the number of { you have.