also if i knew what i was doing i most likely wouldn't be posting
I don't know that I'd got that far.
Are you, or are you not, able to read both sensors correctly, even though you do nothing with the data from the second sensor?
its not waiting until the sensor is tripped before starting the timer, also i need this to reset the timer after the distance2 sensor is tripped
You aren't using the data from the second sensor. It is not sufficient to just read the data.'
If you are able to get data from both sensors correctly, try describing what you want to do in terms of data read from the sensors. "When the value read from the upper sensor is between xxx and xxx, I want to ... When such and such is happening, I want to stop that if the value from the lower sensor is in the range xxx to xxx OR the value read from the upper sensor is out of the range xxx to xxx".
If you can do that, and assign better names to some of the variables, and use one function instead of two, then I think we can help you get there.