instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 04 Jan 2015 02:11 AM |
All the character sounds are in the characters head
I suggest not removing it, but setting its volume to 0
codepad /lnLG0iPQ
The top is a list of all the sounds, if a sound is set to 'true' it will be muted
The bottom one (rbxasset://sounds/uuhhh.mp3) is the death sound |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 04 Jan 2015 02:14 AM |
@128
thanks for the response! |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 04 Jan 2015 03:06 AM |
also, this is what i wrote with your help. thank you, now that annoying default dying voice won't play. :P
and the reason why i destroy the clone when it is put into workspace is because i have PlayOnRemove enabled for the sounds that i clone. so yeah, those clones won't be taking up space.
Sounds = game.ServerStorage.Sounds:GetChildren()
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) char:WaitForChild("Humanoid").Died:connect(function() randomDeathSound = math.random(1,#Sounds) soundChosen = Sounds [randomDeathSound] soundChosenClone = soundChosen:Clone() soundChosenClone.Parent = game.Workspace soundChosenClone:Destroy() end) end) end)
|
|
|
| Report Abuse |
|
|
Raybon
|
  |
| Joined: 19 Jul 2011 |
| Total Posts: 38 |
|
|
| 04 Jan 2015 03:11 AM |
| That looks good man! Nice job! |
|
|
| Report Abuse |
|
|