Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

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

Asked by 10 years ago

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

1 answer

Log in to vote
1
Answered by 10 years ago
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

0
Thanks, but where would i put it? gtaboss1 0 — 10y
0
In workspace. GoldenPhysics 474 — 10y
0
ok thanks gtaboss1 0 — 10y
Ad

Answer this question