How to change a HumanoidState from Dead

Basically, I want a HumanoidState to stop being Dead. I tried using :ChangeState() but that didn’t work. Any ideas?

Try setting BreakJointsOnDeath to false on the Humanoid object?

I tried that but it didn’t do anything.

Thing is, changing a HumanoidStateType to “Dead” would result in a much more complicated issue than it needs to be

You could try clamping the Health every time the Humanoid’s Health changes

1 Like

Try using :ChangeState() on a LocalScript

Yay, that fixes my problem. Too bad I had to use a local script as I would much preferred a server script.

But now I have another problem, I can’t set the health to be above 0. If I try (even if its no longer dead), it will get set back to 0.

Maybe process it with a wait to make sure it’s changed the HumanoidState.

The health still won’t change from 0