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

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

Asked by 4 years ago

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

Log in to vote
0
Answered by
0_2k 496 Moderation Voter
4 years ago

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

0
He said the Humanoid's Name is Dummy AizakkuZ 226 — 4y
Ad
Log in to vote
0
Answered by
zuup123 99
4 years ago
Edited 4 years ago

Died is an event of Humanoid.

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


end)


Answer this question