golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 03:32 PM |
| I don't know why but I can't add audio and I'm 100% sure that I'm doing everything right, my sound works in youtube, my volume in roblox is at max, and nothing happens. |
|
|
| Report Abuse |
|
|
|
| 18 Feb 2016 03:33 PM |
| What is your script to play the music? |
|
|
| Report Abuse |
|
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 03:35 PM |
sound = Instance.new("Sound", game.Workspace) sound.SoundId = "blah blah blah" sound.Volume = 1 sound.Play() |
|
|
| Report Abuse |
|
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
| |
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 18 Feb 2016 03:38 PM |
Sound.SoundId = your id you forgot to add this
|
|
|
| Report Abuse |
|
|
|
| 18 Feb 2016 03:38 PM |
| try doing sound.SoundId.Value = "blah" |
|
|
| Report Abuse |
|
|
| |
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
| |
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 03:45 PM |
| Can someone try himself a working audio script and give it to me? If it doesn't work for me then it's a very weird problem |
|
|
| Report Abuse |
|
|
|
| 18 Feb 2016 03:46 PM |
Make sure your SoundId starts with "rbxassetid://" or "http://roblox.com/asset/?id=".
|
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
| |
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
| |
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 03:48 PM |
| http://www.roblox.com/asset/?id=Number |
|
|
| Report Abuse |
|
|
|
| 18 Feb 2016 03:49 PM |
Okay, here's a script for a sound. This is assuming you want everyone to be able to hear the sound.
local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://243372213" -- Stressed Out by TWP sound.Looped = true sound.Parent = workspace sound:Play()
|
|
|
| Report Abuse |
|
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 03:51 PM |
| No sound, I tried in a script and in a local script :/ |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 18 Feb 2016 03:52 PM |
Fixed this works btw i tested
sound = Instance.new("Sound", game.Workspace) sound.SoundId = "rbxassetid://YOURID" sound.Volume = 1 sound.Pitch = 1 sound:Play()
|
|
|
| Report Abuse |
|
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 03:55 PM |
| It doesn't work for me, what a strange problem |
|
|
| Report Abuse |
|
|
|
| 18 Feb 2016 03:55 PM |
use workspace instead, shorter and faster c;
Translate this: 01010101 01101011 01101110 01101111 01110111 01100100 01110101 01100100 01100101 01110011 00100000 01110100 01101000 01100101 00100000 01100010 01100101 01110011 01110100 |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 18 Feb 2016 03:56 PM |
Is it in a server script in workspace?
|
|
|
| Report Abuse |
|
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 03:58 PM |
| I tried both local script and server script, even though I'm pretty sure it works only in a local script right? |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 18 Feb 2016 03:58 PM |
Put that code i gave you in workspace in a server script.
|
|
|
| Report Abuse |
|
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 04:00 PM |
| Yea I tried that it doesn't work, is it a problem with my computer? |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 18 Feb 2016 04:01 PM |
It worked for me. Are you doing it exactly like i said. Because if you dont its not going to work unless its called by a function.
|
|
|
| Report Abuse |
|
|
golangoal
|
  |
| Joined: 26 Apr 2011 |
| Total Posts: 185 |
|
|
| 18 Feb 2016 04:04 PM |
| I tried everything, I copied it exactly like you and no sound |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 18 Feb 2016 05:02 PM |
Make a fresh game an try that script. If it works in a fresh game but not in yours, that means you probably inserter a free model with a virus or you did something to mess it up.
|
|
|
| Report Abuse |
|
|