I need a script that detects the impact velocity for car crashes.