This should pick ONE song, and then play that ONE song, but instead it loops for like 10 songs and plays then for a second then PLAYS a normal song, why?
while wait() do
local pickSong = songs[math.random(1, #songs)]
local sound = Instance.new("Sound", script.Parent)
local songName = "$$"
local asset = game:GetService("MarketplaceService"):GetProductInfo(pickSong)
songName = asset.Name
remotes.Events.PlaySong:FireAllClients(pickSong, songName)
--print"YES"
sound.SoundId = "rbxassetid://"..pickSong
wait(sound.TimeLength)
end
