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

How do i play all my music?

waittime = 1

function PlayMusic() wait(waittime) script.PartyRock.Music:Play() end

PlayMusic()

2 answers

waittime = 1
function PlayMusic()
	wait(waittime)
	script.PartyRock:Play()
end

Music is not a property of the Sound object. Assuming you have your music inside the script object, you would just use this:

waittime = 1

function PlayMusic() wait(waittime) script.PartyRock:Play() end

PlayMusic()

3 comments

0

Its not working

0

Then you don't have a valid sound file inside the script.

0

The script works it just plays ONE song

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