How do I make a falling detector for my rag doll system?

So, I have a fall damage script, and it uses the humanoid.FreeFalling event. But when I get exploded by a thing I made that makes you rag doll, you can safely fall to the ground. I know this is probably because it isn’t detecting the humanoid’s state to be falling. But is there any workarounds?

2 Likes

you could try raycasting?

when the humanoid is in the air maybe raycast downward and if the ray doesnt hit anything then the human is in the air

1 Like

I could! I think I can make it where runs every second raycasting like 10 studs downward, and then if it records how long they fall? I’ll try that later, thanks.

1 Like