array without delay

only thing is I would still like to put this into a for function so that I may add a break function
any ideas on why the for function wasn't working as intended?