Error in my code help

Thanks for responding, I will fix that but, ho do I fix the the code without all the delays?