How can I perform a += on an if statement?

Lets say both variables are already filled out.

if(Team1 += 1) {

RoundCount += 1;

}

how can I get something like this to work?

U can’t say if team += 1 in that spot as that makes no sense. In the brackets u are checking if something = something. So if team += 1 doesn’t make any logical sense.
try team == 1

Redcount is fine.