Alright y'all, help me out please

No.... sorry... I should have written:
"It sweeps twice... Once if the "read()" is 0, and once if the "read()" is 180" (and threshold is over 200)

Did you get a look at the sound sensor? Can you see VCC, GND, AO, DO? You have three wires that are not (to me) clearly labeled, and the Arduino pin looks like "20" and not "A2"