Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to loop audio in game?

I'm not that advanced at scripting, so I would like some help with this task.

Thank you for helping.

3 answers

Basically use this script put it in the sound

script.Parent:Play()

Then simply select in Properties "Looped"

1 comment

0

I put the script in.. I looped the audio.. it didn't play. I put the asset ID in as well.. any help?

Eh try this, didn't test it.

game.Players:PlayerAdded(function(plr)
local var = game.Workspace.Sound:Clone()
var.Parent = plr
plr.Sound:Play()
Sound.Looped = true
end)

Remember to Insert the Sound with correct SoundID into the workspace, not in the script.

and the asset and the id and click prperty see it say loop on the botttom click it that what i did

1 comment

0

property

This discussion is preserved as it was. New answers, comments, and votes are closed.