|
| 09 Jun 2013 02:29 PM |
I have a script which creates ambient noise throughout the level, but it fails to run in multiplayer. It works fine in singleplayer and studio mode, and I've used the Remote Error Monitor Script to try and find the problem.
local howl = script.Wind
while true do howl:play() wait(0.01) end
Does it have to be a local script, or is there a different problem? |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 02:30 PM |
| Make the volume of the sound like 100000000000 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
huner2
|
  |
| Joined: 27 Apr 2008 |
| Total Posts: 1681 |
|
|
| 09 Jun 2013 03:17 PM |
Try running it in a LocalScript and changing :play() to :Play()
~These are not the droids you are looking for~ |
|
|
| Report Abuse |
|
|
| |
|
Cjslick
|
  |
| Joined: 11 Jul 2009 |
| Total Posts: 2130 |
|
|
| 09 Jun 2013 03:41 PM |
Never liked localizing commands, try making it general instead of local. It should run fine then.
If you need it localized, do the same within a local script. And check to see if your commands are all in place. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 03:47 PM |
Try adding wait(5) to the beginning, to make sure all elements of the game are loaded in before the script runs. Also keep in mind that a player will only hear a sound if it starts playing while they're in the game.
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 03:54 PM |
Finally working.
Thanks. :) |
|
|
| Report Abuse |
|
|