My script works fine (the name of the sound prints out in the console) but the sound doesn't play. Any idea what could be causing this?
function MapChooser() math.random(1, 6) local sounds = game.SoundService.RandomSounds:GetChildren() local chosen = sounds[math.random(1,#sounds)] print(chosen.Name) chosen:Play() end while true do wait(6) MapChooser() end