generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How would I remove the default death sound?

Previous Thread :: Next Thread 
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
04 Jan 2015 01:57 AM
just a question
Report Abuse
128GB is not online. 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 is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
04 Jan 2015 02:14 AM
@128

thanks for the response!
Report Abuse
instawin is not online. 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 is not online. Raybon
Joined: 19 Jul 2011
Total Posts: 38
04 Jan 2015 03:11 AM
That looks good man! Nice job!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image