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

How do i script random death sounds?

If at all, im trying to make it so that every time you die, a different sound would play each time.

How would i do this?

Thanks.

1 comment

0

dumb comment but when you die you have the sound effect OOOOF!

1 answer

local sounds = {sound1, sound2, sound3}

game.Players.Died:Connect(function(plr)
local randomdeath = math.random(1, #sounds)
randomdeath:Play()
end

Something like that

2 comments

0

game.Players.Died:Connect(function()*

0

I don't think that's a real event, maybe remotes are involved with players dieing

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