Issues with Millis function and sensors

Thanks I will try to do that