Need help with delay function

ok ill see if i can figure that out

Thanks again for your input