Realistic fall damage script help

The scripted fall damage i used is broken, so i need someone to script it and replace it a new one.
cant show some screenshots, test my game if somethings wrong with the fall damage.

the game’s a little bit messy.

once u jump to the ground this wont work, sometimes it does.

WATCH OUT MOBILE PLAYERS! testing this game may crash your game, i put a lot of huge stuffs in it.

Yeah it crashed I can only play on mobile for the moment, can you give the code?

oh no what is it? what code???

wait u mean error code after the game crashed?

No I mean the script I wasn’t even able to get in