I have a sound clip that is about 5 seconds long, however when I play it, it cuts out after 2 seconds.
if player.Mute.Value == false then
for i,v in pairs(msg:GetChildren()) do
if v:IsA("Sound") then
v:Play()
end
end
end
"v" plays correctly so there is nothing wrong with anything surrounding it (afaik) It starts fine but cuts off at 2 seconds EVERY time. I tried playing the sound through the website (ie went to the link and hit play) and it worked fine (full 5 seconds).
What could be the issue?

6 comments
All sound properties have been checked and are all default
UPDATE: I tested in play solo and the sound still won't play correctly, I believe this is an audio problem rather than a scripting problem,
Show us your whole script please, it won't help us to not know what msg is.
Wait. You just need a "wait()" within the loop. You can't run loops without waits or it can crash roblox.
@FearMeIAmLag You do not need waits in for loops. I tons of for loops without waits in my games.
Turns out it was a sound bug, I re-uploaded the sound and now it's fine