local player = game.Players.LocalPlayer
repeat wait() until player:FindFirstChild("leaderstats")
local lives = player.leaderstats.Respawns
player.CharacterAdded:connect(function(character)
character:FindFirstChild("Humanoid").Died:connect(function()
wait()
lives.Value = lives.Value - 1
player:FindFirstChild("Backpack").Death:Play()
wait(1)
children = player.Backpack:GetChildren()
for _,v in pairs(children) do
if v:IsA("Sound") then
repeat
wait()
v:Stop()
until v.IsPlaying == false
end
end
end)
end)
This is in a LocalScript in the Starterpack (a LocalScript will help me the best, so don't suggest a server script). It's supposed to cut off 1 life from your stats, and play a sound. It does neither of these, for some reason.

2 comments
Any errors?
No, the Output window doesn't show anything wrong.