-1

# 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

4
Azarth 3141
8 years ago
Edited 3 years ago

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)

1
Azarath, lol your at 99 , hmm, this seems correct. MK HexC3D 830 — 8y
2
So plus 1 from me. HexC3D 830 — 8y
0
thanks imcoollikecool 8 — 8y