yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
|
| 06 Dec 2013 11:13 PM |
Here's the problem. When I go in to Play Solo I hear sound, when I play online the sound doesn't play. What do I do? Here is the script:
local sId = 130813724 local shouldLoop = true local s = Instance.new("Sound", game.Workspace) s.SoundId = "http://www.roblox.com/asset/?id="..tostring(sId) s.Volume = 1 s.Pitch = 1 s.Looped = shouldLoop repeat wait() s:Play() until s.IsPlaying |
|
|
| Report Abuse |
|
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
|
| 06 Dec 2013 11:16 PM |
I think that "local s" needs to be before everything else that uses the variable "s", so they know what "s" means.
|
|
|
| Report Abuse |
|
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
Zkiller11
|
  |
| Joined: 25 Aug 2009 |
| Total Posts: 2914 |
|
|
| 06 Dec 2013 11:42 PM |
| Try putting the code in a LocalScript. |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2013 12:58 AM |
@OP
Please don't bump every minute. |
|
|
| Report Abuse |
|
|