Studio 4.896 2.168 4.896
Test0 0 0
wait(10)
music = script:GetChildren()
a = true
while a == true do
wait(1)
a = false
for i,v in pairs(music) do
local MusicRandom = music[math.random(1,#music)]
MusicRandom:Play()
if music[i].IsPlaying then
print(music[i].TimeLength)
wait(music[i].TimeLength)
a = true
end
end
end

4 comments
still 0
You sure the audio has an audio id in it?
yes
Also having a problem with TimeLength returning 0 even when playing..