Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to loop audio in game?

Asked by 10 years ago

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

Thank you for helping.

3 answers

Log in to vote
0
Answered by 10 years ago

Basically use this script put it in the sound

script.Parent:Play()

Then simply select in Properties "Looped"

0
I put the script in.. I looped the audio.. it didn't play. I put the asset ID in as well.. any help? DrCylonide 158 — 10y
Ad
Log in to vote
0
Answered by
Vividex 162
10 years ago

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.

Log in to vote
0
Answered by 10 years ago

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

0
property hudson287 0 — 10y

Answer this question