SHOW:
|
|
- or go back to the newest paste.
| 1 | hook.Add("PlayerDeath", "NewSound", function(vic,unused1,unused2)
| |
| 2 | ||
| 3 | local noise = nil | |
| 4 | - | hook.Add("PlayerDeathSound", "DeFlatline", function() return true end)
|
| 4 | + | |
| 5 | - | local noise = Sound("sadviolin.wav")
|
| 5 | + | |
| 6 | - | hook.Add("PlayerDeath", "NewSound", function(vic,unused1,unused2) vic:EmitSound(noise) end)
|
| 6 | + | |
| 7 | noise = Sound("sadviolin.wav")
| |
| 8 | - | hook.Add("PlayerDeathSound", "Rock", function() return true end)
|
| 8 | + | |
| 9 | - | local noise = Sound("rock.wav")
|
| 9 | + | noise = Sound("rock.wav")
|
| 10 | - | hook.Add("PlayerDeath", "NewSound", function(vic,unused1,unused2) vic:EmitSound(noise)
|
| 10 | + | end |
| 11 | - | end |
| 11 | + | |
| 12 | vic:EmitSound(noise) | |
| 13 | end) |