line follow code

console:
i know that, im just confused about putting the if statements with the values and making it read the sensors properly

Well, what have you tried so far?