Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

(Humanoid).Died doesn't run properly on an enemy?

I have a script in a enemy/mob, but the Humanoid.Died function does't run when it dies.

Here are some things you should know:

  • The Humanoid is called Dummy.
  • The mob/enemy was gotten from the Rig Builder (The character itself).

Here's the script i use to try to see if the Humanoid.Died function runs properly, but it doesn't.


script.Parent.Dummy.Died:Connect(function()
	print("Boss Died.")
	
		
end)

2 answers

It's script.Parent.Dummy.Humanoid.Died:Connect(function(), you aren't defining Humanoid

1 comment

0

He said the Humanoid's Name is Dummy

Died is an event of Humanoid.

script.Parent.Dummy.Dummy.Died:Connect(function()
    print("Boss Died.")


end)


This discussion is preserved as it was. New answers, comments, and votes are closed.