Need help with my respawn script

when our character falls off a platform it keeps the velocity at which it fell, taking the character off the platform once again.

Here is the script.

You need to set the velocity of the rigidbody to 0,0,0