Code Combining Error! Please help with corrections

you should'nt double-post. Double-postings and words like "asap" will just have the opposite efferct of what you want:
longer waiting for answers.

From trying to use 2 void loops in one sketch almost everybody can conclude that your knowledge about programming has a lot of potential for improvement.

Take a look into this tutorial. It explains a part of what you have to change to make your program work.

Arduino Programming Course

It is easy to understand and has a good mixture between explaining important concepts and example-codes to get you going. So give it a try and report your opinion about this tutorial.

If you want instant answers to your question how to merge two sketches use google:

https://en.wikiversity.org/wiki/Arduino_Sketch_Merge

best regards Stefan