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

How do I make A song script?

Asked by
EpicLilC 150
10 years ago

I'm making a party place and I have no idea how to make a script that plays audios from the catalog, does anybody know how to make a music playing script??

2 answers

Log in to vote
0
Answered by
Relatch 550 Moderation Voter
10 years ago
sound = script.Sound --Creates the pathway to sound. You just need to put a sound inside a script.

while true do
    sound:Play() --Play() is a property of part that allows you to let the sound play or run.
    wait(10) --This is amount of time until the sound cuts off.
    sound:Stop() --Stop() is like Play(), but instead it cuts it off.
end
0
When adding a sound to a script the Maxamount of how long the sound could be playing is 120 seconds right? And to put the ID all I have to do is go into the proerties and put in the sound ID right, or am I missing something,, EpicLilC 150 — 10y
0
You're not. Relatch 550 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

Just for future reference, when asking a question here, we USUALLY DO NOT just make your script without you trying and showing us you tried your best. Please refrain from just asking a user to make your script for you.

Have a nice day!

Answer this question