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: Sound()

Previous Thread :: Next Thread 
yankeejr is not online. 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 is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
06 Dec 2013 11:14 PM
Bump. Anyone?
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
06 Dec 2013 11:15 PM
Again.
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
06 Dec 2013 11:16 PM
And again.
Report Abuse
MightyWanderer is not online. MightyWanderer
Joined: 17 Jan 2011
Total Posts: 1110
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 is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
06 Dec 2013 11:22 PM
Didn't work :(
Report Abuse
Zkiller11 is not online. Zkiller11
Joined: 25 Aug 2009
Total Posts: 2914
06 Dec 2013 11:42 PM
Try putting the code in a LocalScript.
Report Abuse
KiwiMeister is not online. KiwiMeister
Joined: 18 Feb 2010
Total Posts: 1464
07 Dec 2013 12:58 AM
@OP

Please don't bump every minute.
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