The script corrects and improves the behavior of pedestrians when the player aims at them with a weapon.
Pedestrians will no longer give up and leave if the player holds them at gunpoint for a long time.
If you remove the sight, in 100% of cases, the NPC will rush away in a panic, and not walk quietly.
With a small degree of probability, a pedestrian can immediately run away from you in a panic.
The police won't like that you're waving a gun and scaring passers-by. If a cop notices you aiming at someone, even without firing a shot, you'll get one wanted star.
Have a nice game!