sounds = script.Parent:GetChildren()
while true do
local rand = math.random(#sounds)-- #sounds will be the amount of sounds in the array
sounds[rand]:Play() -- This would take the random sound and play it.
sounds[rand].Ended:Wait()
end
This script is supposed to play a random sound from it's part. Thing is it plays 3 sounds then stops. Can someone help ?

1 comment
Doesn't work