Either it’s just me or what, but why is my sound instance acting weird? On studio (not play), the time length is true (2 seconds), but when I test it in game (still on studio), the time length becomes zero.
if you want your audio to play endlessly in the game:
- parent the audio to the workspace (put the audio in the workspace)
- make sure these two properties are set to true:
if you want to play an audio in general from a script:
- make sure it is parented to the instance you want it to eminate from or sound service or somewhere that it will play (possibly workspace again)
- and make sure you are using Audio:Play()
This isn’t what I’m talking about. What I was talking about is why when I play in game (on studio test) and check the explorer the audio time length become zero.
perhaps your game doesnt have permission to use that audio have you tried just playing the audio on the roblox website or in the explorer not in test mode
If you dont have permission, you cant play the audio at all, It may be an error with the loading, check the output
If so, try preloading it
Yeah I try to insert audio and put the id and it becomes normal, do you think it’s studio bug?
Not sure, it is most likely a error with the loading, as i stated, try preloading it (with ContentProvider
)