Its suppose to play audio but i keep getting

Failed to load sound http://www.roblox.com/asset/?id=Type Sound Id here: Unable to download sound data

Can anyone help?

local sid = game.Players.LocalPlayer.PlayerGui.radio.Frame.ID.Text

function click()
	game.Players.LocalPlayer.Character.Sounds.SoundId = "http://www.roblox.com/asset/?id=" .. sid
	game.Players.LocalPlayer.Character.Sounds:Play()
end
script.Parent.MouseButton1Click:Connect(click)

1 comment

0

i changed instead of using local sid i just put game.Players.LocalPlayer.PlayerGui.radio.Frame.ID.Text and it worked so [SOLVED]