waittime = 1
function PlayMusic() wait(waittime) script.PartyRock.Music:Play() end
PlayMusic()
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()