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

How do i play all my music?

Asked by 10 years ago

waittime = 1

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

PlayMusic()

2 answers

Log in to vote
1
Answered by 10 years ago
waittime = 1
function PlayMusic()
    wait(waittime)
    script.PartyRock:Play()
end
Ad
Log in to vote
0
Answered by
MrFlimsy 345 Moderation Voter
10 years ago

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()
0
Its not working BuildingAustin 0 — 10y
0
Then you don't have a valid sound file inside the script. MrFlimsy 345 — 10y
0
The script works it just plays ONE song BuildingAustin 0 — 10y

Answer this question