what am i doing wrong here some help please

Ok so it is a robotic car that has IR,line tracking,ultrasonic, and bluetooth. I can make all of them run individually. But now I wanted to start combining them together.

So the code I want to write is to have the IR start the line tracking the LT1,LT2,&LT3 are the line sensors.
The loop is the line sensors task to perform I just cant get the remote to activate the loop it will either spaz out or just drive forward.

Sorry for the long post