Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("PlayerDeath", "NewSound", function(vic,unused1,unused2)
- local noise = nil
- local num = math.random(0,2)
- if num == 0 then
- noise = Sound("sadviolin.wav")
- else
- noise = Sound("rock.wav")
- end
- vic:EmitSound(noise)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement