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

How would you make a player make a dying noise once they have been killed?

For example, like in "TMM" when you die you make a dying sound. Can someone please tell me the script?

1 answer

✓ Accepted answer
game:GetService('Players').PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function(character)
		character:WaitForChild("Humanoid").Died:connect(function()
			--PLAY SOUND HERE
		end)
	end)
end)

Something like this. Use the .Died event

3 comments

0

Thanks, but where would i put it?

0

In workspace.

0

ok thanks

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