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 » Scripting Helpers
Home Search
 

Re: Why can't I change the Volume using Command Bar?

Previous Thread :: Next Thread 
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
24 Jul 2014 10:17 AM
x = game.Workspace.kevincatssing.Head:GetChildren()
for i=1,#x do
if x[i].ClassName == "Sound" then
if x[i].SoundId == "rbxasset://sounds/bfsl-minifigfoots1.mp3" then
x[i].SoundId = "http://www.roblox.com/asset?id=145570864"
x[i].SoundId.Volume = "0.005"
end
end
end



Did I do something wrong?
Report Abuse
super10099 is not online. super10099
Joined: 30 Jan 2010
Total Posts: 1102
24 Jul 2014 10:18 AM
x[i].SoundId.Volume = 0.005
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
24 Jul 2014 10:27 AM
Ok but I rechecked the properties and fixed the thingy



x = game.Workspace.kevincatssing.Head:GetChildren()
for i=1,#x do
if x[i].ClassName == "Sound" then
if x[i].SoundId == "rbxasset://sounds/bfsl-minifigfoots1.mp3" then
x[i].SoundId = "http://www.roblox.com/asset?id=145570864"
if x[i].Volume == .5 then
x[i].Volume = .005
end
end
end
end



this should work but it doesn't

whai qq
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
24 Jul 2014 10:37 AM
frenssss
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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