Rewrite your void loop () so your robot stays perfectly still until someone walks in front of it, then it charges forward at full speed. Set your distance so it only charges forward if someone is between 30 cm and 100 cm away from it.
If the person runs away and there is nothing in front of it, it should stop again.
Hint: You may need to use the && compound operator. It represents the word "and".
Once you have your bot working as expected please show me and then submit the code below.