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

How to play a new music using scripts?

I need know how to play a music using a script like: Wait (5) now the script to start a music

1 comment

0

superaceCZ u need the roblox song id and do the following thing then

2 answers

Its easy First of all make a folder with all songs and name it.

Second, make a script inside the folder if you want or insert it in serverscript

Here is the code.

local location = game.Workspace.Folder

location.song1:Play() -- Starts the song
wait(60) -- Wait 60 seconds
location.song1:Stop() -- Stops the song

Remember You can edit all properties, like song duration, if loop or not etc.

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