You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to make a script that Plays a Death sound when my Monster dies and also have it stop playing its scary ambience sound when it dies. -
What is the issue? Include screenshots / videos if possible!
I’ve tried several ways to make the death sound trigger as well as the other sounds to stop playing but nothing happens. I mainly try to use “if script.Parent.Humanoid.Health <0 then play the sound and stop the other sounds” but that doesn’t seem to work. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried looking through the free models and using their death scripts but still no avail. Even one that triggered if the humanoid left workspace didn’t seem to work.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- This is an example Lua code block
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.