Humanoid.Died not firing

Hello! I have a humanoid inside of a model containing a part (so that the part has a health value). However, when the humanoid reaches 0 health, the Humanoid.Died event does not fire for some reason. Is there a requirement for it to fire (e.g. it only works on npcs and not parts though I dont see whats the difference), or is there something else? I use Humanoid:TakeDamage() to handle damaging the humanoid. (Would like to avoid:

  1. Using Humanoid:GetPropertyChangedSignal(“Health”)
  2. Using something like an IntValue to handle the health instead

I don’t have a problem with the methods above, but I would really rather use the Humanoid.Died function unless it is impossible)

1 Like

Can you send your script? It is a little hard to understand what you mean without it, thanks

script.Parent.Humanoid.Died:Connect(function()
	task.wait(1.5)
	script.Parent:Destroy()
end)

That’s the entire script. It’s done on the server.

1 Like

Make sure that the model containing your humanoid has a Head and a HumanoidRootPart, Died won’t fire without them.

1 Like

Oh. So I should use Humanoid:GetPropertyChangedSignal(“Health”) if I don’t want a head and a humanoidrootpart?

1 Like

You can use invisible parts named “Head” and “HumanoidRootPart” with cancollide and canquery false, but if you don’t want to add any more parts at all then yes you would have to use GetPropertyChangedSignal.

1 Like

I see. Well that’s kind of disappointing :confused:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.