local music = {186306824,203426516,395510897}
local id = math.random(1, #music)
local numbertostring = tostring(id)
game.Workspace.LobbyMusic.SoundId = "http://www.roblox.com/asset/?id="..numbertostring:Play()
Error: "Players.Player1.PlayerGui.Music:6: attempt to call method 'Play' (a nil value)"
Why am I keep getting this error? thanks!
