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

How do i make a sound when a player dies? (CLICK FOR MORE)

how do i make a sound when a player dies? like in game THE MADE MURDER but no one hears it but you

1 answer

✓ Accepted answer

Put it in StarterGui or StarterPack, there's not much to explain, so I trust you can read it and figure out what I did.

local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:wait()
local hum = char:WaitForChild("Humanoid")
local sound = Instance.new("Sound", script.Parent)
sound.SoundId = "rbxasset://"..0000000

hum.Died:Connect(function()
	sound:Play()
end)

3 comments

1

Azarath, lol your at 99 , hmm, this seems correct. MK

2

So plus 1 from me.

0

thanks

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