as you might have known by the title, i have made a script that plays a random sound inside a folder called MusicLobby, it was working fine back then, but now it doesnt work anymore and i did not change it. Well...it DOES work in STUDIO but not INGAME, and that makes me really confused...anyways here is the script that i made.
local trackslobby=workspace.MusicLobby:GetChildren() local chooselobby=math.random(1,#trackslobby) local trackl=trackslobby[chooselobby] trackl:Play()
oh and also this script itself is in ServerScriptService, this is not actually the ENTIRE script, but i figured out that this specific part is the one that is breaking the script, hope you guys understand.