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

How do I give a death sound to an npc?

Asked by
Glvt102 11
2 years ago
Edited 2 years ago

The title basically explains everything, halp

1 answer

Log in to vote
0
Answered by 2 years ago
Edited 2 years ago

If the NPC gets

:Destroy()

then simply all you got to do is insert the sound to the NPC model and set the sound to "Play on remove".

Whenever the NPC model gets removed, the sound will play.

If this helps, please accept this answer as solved! Thank you!

Edit: If the NPC doesn't get "removed" then please let me know!

0
Yeah, it gets removed from the workspace, thank you! Glvt102 11 — 2y
0
No problem! Could you please mark this as solved? This not only will help me, but also help you earn some reputation! Besides that, glad it worked! SonGohan6 85 — 2y
Ad

Answer this question