Here is part of the code I am using to load sounds into a Sound
object. The code is then supposed to wait for the audio to load before it plays, by waiting for the TimeLength property of the Sound to be greater than 0.
Player.SoundId = SoundId repeat wait() until Player.TimeLength > 0 Player:Play()
However, this only appears to work in Studio, and not in online mode.
Any ideas?
ADDITIONAL INFORMATION
• The script is running in ServerScriptService.
• The Sound object (Player) is created in Workspace.
Try putting it into a localscript.