|
| 15 Sep 2013 03:35 PM |
In solo, it will play.
But on-line, it doesn't play at all. I even put a 5 second delay so that the music has time to load before my character shows up. Does the delay need to be longer or is there something wrong with the script
local s = Instance.new("Sound") wait(5) s.Name = "Loading Schala" s.SoundId = "http://roblox.com/asset/?id=5985787" s.Volume = 1 s.Looped = true s.archivable = false
s.Parent = game.Workspace
wait(5)
s:play() |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 15 Sep 2013 03:39 PM |
lol, a 5 second delay? just use game.Players.PlayerAdded:connect(function(player) player:WaitForDataReady()
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2013 03:59 PM |
| I see a red dotted line. That means there is an error. |
|
|
| Report Abuse |
|
|
| |
|
Brycemlns
|
  |
| Joined: 28 Jan 2008 |
| Total Posts: 216 |
|
|
| 15 Sep 2013 04:04 PM |
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
That's why. |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2013 04:06 PM |
| If it can't play, why does it work on studio? |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2013 04:55 PM |
| 4 play on enter scripts later, it works. The thing is, I don't know which one. |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 15 Sep 2013 05:30 PM |
local s = Instance.new("Sound", Workspace)
When life gives you lemons, Squirt 'em in your eyes. - Drahsid5 |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2013 05:32 PM |
| No need. But i'll track this thread for later reference. |
|
|
| Report Abuse |
|
|
R8N
|
  |
| Joined: 07 Aug 2013 |
| Total Posts: 1164 |
|
|
| 15 Sep 2013 05:44 PM |
function PlayR8N() local Sound = Instance.new("Sound",workspace) Sound.Name = "Loading Schala" Sound.SoundId = "rbxassetid://5985787" Sound.Volume = 1 Sound.Looped = true wait() Sound:Play() return Sound end
for i=1,10 do -- Load please PlayR8N():Destroy() wait() end PlayR8N() |
|
|
| Report Abuse |
|
|