Help with ragdoll and points

Hello,
I’m wanting to make part of a game where you are in a ragdoll mode and receive points for being in ragdoll. The longer the ragdoll, the more points you get. I’ve set it up to go into ragdoll no problem, but now that I’m in it, I’m having difficulty in getting the points system set up with a HUD, casting to everything is getting confusing. Any thoughts would be fantastic, thanks!