Fixed it. I put a semicolon after an if statement XD