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??
1 | sound = script.Sound --Creates the pathway to sound. You just need to put a sound inside a script. |
2 |
3 | while true do |
4 | sound:Play() --Play() is a property of part that allows you to let the sound play or run. |
5 | wait( 10 ) --This is amount of time until the sound cuts off. |
6 | sound:Stop() --Stop() is like Play(), but instead it cuts it off. |
7 | 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!