Help! Trying to modify Sketch

I appreciate the help...however both codes end up with less than desired results...which is kinda why i am ripping my hair out.

One code blinks all 4 at once the other bdoesnt blink...only one light is on.

I kinda hate arduino now...