Regening health after death

What do i want - I want a script so that after i die i radgoll to death and then instead of respawning, i regen health right then and there and then get unradgolled.

I dont know if this is in any way possible, but if it is please let me know.

1 Like

so you want to regen health before the player respawn?

Yes thats precisely what i want

but won’t the health be maxhealth when player respawn, sorry if its different with ragdolls because I don’t really know things about ragdolls.

also I don’t think this can be done because a player would need to respawn to have health.

Oh ok i just wanted to ask. i DIDNT KNOW.

maybe you could do something similar by moving the Spawn to the player when they die, respawning them in the same position instantly to make it look like they regenerated health.

I actually already coded a system exactly what your describing, how I esstinally did it was have a listener event for health changes and whenever the health changes i clamped it to like 0.1 and not actually reaching 0, I forgot why disabling the death state didn’t work for me, anyway once it gets below 0.2 health basically I activate a ragdoll function and regening health pretty easy after that

1 Like

Oh that help so much thank you!