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??
COMMUNITY QUESTION
How do I make A song script?
2 answers
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
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!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
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,,
You're not.