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: Sound help

Previous Thread :: Next Thread 
BloxDaily is not online. BloxDaily
Joined: 08 Feb 2013
Total Posts: 5319
05 Dec 2013 08:00 PM
Works in test mode but not in regular play mode.

local Sound = game.Players.LocalPlayer.Backpack.Sounds.StartMusic

Sound:Play()

wait(35)
Sound.Volume = 0.8
wait(0.5)
Sound.Volume = 0.7
wait(0.5)
Sound.Volume = 0.6
wait(0.5)
Sound.Volume = 0.5
wait(0.5)
Sound.Volume = 0.4
wait(0.5)
Sound.Volume = 0.3
wait(0.5)
Sound.Volume = 0.2
wait(0.5)
Sound.Volume = 0.1
wait(0.5)
Sound.Volume = 0.0
Report Abuse
robomax11 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
05 Dec 2013 08:02 PM
sound looped?
Report Abuse
BloxDaily is not online. BloxDaily
Joined: 08 Feb 2013
Total Posts: 5319
06 Dec 2013 07:04 AM
Yes?
Report Abuse
robomax11 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
06 Dec 2013 07:26 AM
nothing wrong..
Report Abuse
Vaporation is not online. Vaporation
Joined: 08 Jun 2011
Total Posts: 1397
06 Dec 2013 07:46 AM
Is this a LocalScript?
Report Abuse
BloxDaily is not online. BloxDaily
Joined: 08 Feb 2013
Total Posts: 5319
06 Dec 2013 07:50 AM
Yes it is
Report Abuse
BloxDaily is not online. BloxDaily
Joined: 08 Feb 2013
Total Posts: 5319
06 Dec 2013 03:23 PM
It plays in test mode but when you publish it and play the real game it does not work...
Report Abuse
EchoReaper is not online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
06 Dec 2013 03:29 PM
Try resetting after 40ish seconds and seeing if it works. Sounds load the first time they are played -- not when the player joins the game -- so the sound isn't going to be audible the first time you play it.

Also, why wait 35 seconds for one song to change the volume? If I recall correctly, sounds can only be 15 seconds, max.
Report Abuse
BloxDaily is not online. BloxDaily
Joined: 08 Feb 2013
Total Posts: 5319
06 Dec 2013 09:06 PM
It is looped and what do you mean?

Volume lowering is it fading it out
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