Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local currentSound = workspace:WaitForChild("CurrentMusic")
- local songs = script:GetChildren()
- while true do
- for i, song in pairs(songs) do
- local id = song.Value
- currentSound.SoundId = id
- currentSound:Play()
- wait(1)
- wait(currentSound.TimeLength / currentSound.PlaybackSpeed)
- end
- end
Add Comment
Please, Sign In to add comment