Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I stop the humanoids health from resetting to 0 after death?

Asked by 6 years ago

Okay, since my last question seemed like a request I'm rewording it as a lot of people didn't understand my question.

So basically whenever the humanoids state is "Died" you cannot change the health in the dead humanoid as it just resets back to zero. My question is how do i stop it from resetting back to zero?

The two ways I have tried this is 1. Disabling the "Died" state AFTER the humanoid had died but sadly didn't work. 2.Deleting the humanoid and putting another one in it. Didn't work as expected but worth a try.

Currently wondering if I should just disable the "Died" state and change all my Humanoid.Died script to Humanoid.Changed if the Humanoids health is 0.

So again, is there another way to stop the humanoid from resetting its health back to 0 after it has died? Thanks.

1
Well, first, if you want to disable then you should do so before the health reaches 0. Another thing you can do is reform the joints, at least the neck joint, so that when you put the health back to the max health it won't go back to 0. yougottols1 420 — 6y
0
You could make a custom health system and not actually damage humanoid. It should't be that hard. raspyjessie 117 — 6y

Answer this question