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: Sounds

Previous Thread :: Next Thread 
Adaxius is not online. Adaxius
Joined: 22 Nov 2014
Total Posts: 180
20 Jan 2017 12:03 AM
Hello,

Ive coded an audio to play in my game. The code works perfectly in studio, but unfortunately doesn't function in game.

I need help.


- Adaxius
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
20 Jan 2017 12:04 AM
Post the script.
Report Abuse
Adaxius is not online. Adaxius
Joined: 22 Nov 2014
Total Posts: 180
20 Jan 2017 12:06 AM
Debounce = false function Touch(hit) local Humanoid = ################################# ## ###### and Debounce == false then Debounce = true game.Lighting.SoundGroup.blah:Play() wait (34) game.Lighting.SoundGroup.blah:Stop() Debounce = false end end script.Parent.Touched:connect(Touch)
Report Abuse
Adaxius is not online. Adaxius
Joined: 22 Nov 2014
Total Posts: 180
20 Jan 2017 12:07 AM
basically the audio plays at a specific point in the game.
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
20 Jan 2017 12:12 AM
Sounds can't be heard in Lighting.
Place it in Workspace.
Report Abuse
Adaxius is not online. Adaxius
Joined: 22 Nov 2014
Total Posts: 180
20 Jan 2017 12:24 AM
Thanks a lot, i have no idea why i didn't think of that.

your awesome.
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