Function Trouble - Need a Debuger

frist one keeps wroking but the second two keep flashing. I cna’t understand this cause this code worked perfect before.