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: Audio Problems

Previous Thread :: Next Thread 
Imaginator113 is not online. Imaginator113
Joined: 31 Mar 2011
Total Posts: 9482
19 Jul 2014 04:44 AM
I've been trying to do this for months.

I just can't get the audio to work. I've tried scripts, plugins, FMs... Nothing works.

sound.Play(166972735)
loop()

WHy can't it be that easy ??? Can anyone fix it please thanks :) Also, the script. It is not in audio but in workspace with no parent.
Report Abuse
WishNite is not online. WishNite
Joined: 11 Feb 2009
Total Posts: 15828
19 Jul 2014 04:45 AM
that's not how you play a sound...

Workspace.Sound:Play()

that's it. you need to edit the properties of the sound, however.
Report Abuse
TochiWasHere is not online. TochiWasHere
Joined: 13 Mar 2013
Total Posts: 160
19 Jul 2014 04:47 AM
local audio = game.Workspace.sound --assuming the game of it is sound
audio.Looped = true
audio:Play()

-Was Here
Report Abuse
Imaginator113 is not online. Imaginator113
Joined: 31 Mar 2011
Total Posts: 9482
19 Jul 2014 05:09 AM
@Touchi : Wait so do I have to create a sound from basic objects ? If so, in the audio or workspace ? If not it doesn't work.
Report Abuse
RaverKiller is not online. RaverKiller
Joined: 09 Jul 2014
Total Posts: 219
19 Jul 2014 05:21 AM
You use a basic object to create the sound.

Sound = Instance.new("Sound", game:GetService("Workspace"))
Sound.SoundId = "" -- ROBLOX asset URL = id

Sound.Looped = true
Sound:Play()
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