So, I have an API hooked up to trello to play audio on the trello list. Well the problem I'm running into is that it only plays one song, then stops. There is multiple songs on the list for trello. Here is the code:
local API = require(script.Parent.Parent.TrelloAPI)
local BoardId = API:GetBoardID("HotTrelloBoardAmiritel")
local MusicList = API:GetListID("SomeMusic", BoardId)
local retCards = {}
local MusicInstance = script.Parent.Music
for _,v in pairs(API:GetCardsInList(MusicList)) do
for q,e in pairs(v) do
if q == "name" then
MusicInstance:Play()
MusicInstance.SoundId = "rbxassetid://" .. tostring(e)
wait(MusicInstance.TimeLength)
end
end
end
Is there a way to loop this or make it play more audio after the first audio is done?
**GetBoardID and GetListID have been changed for reasons...

4 comments
It hard to debug this because not everyone has a trello setup but try putting the MusicInstance:Play() after MusicInstance.SoundId
Nice title... Lets us know exactly what this question is about...
@mosskil23 Its about a trello api that gets a roblox ID from a trello list, but it only played one song, then didn't continue playing the rest of the songs.
And that didn't work @DomotedGnar