Troble Reading Vibration Sensor

Yes, I understand the problems that the delays are causing in my program. I am currently trying to find a solution to the problems. If I can figure out how to use a timer, then I can do away with one of the delays. So far, I haven't had much luck in figuring out how to make a timer work.