My friend already fixed this for me c:
guis = game.Workspace.Radio.Gui.Frame.Sound
sound = game.Workspace.Radio.Sound
Format = "http://www.roblox.com/asset/?id=##ID##"
local frame = script.Parent:WaitForChild("Frame")
function onClick()
frame:WaitForChild("Close").MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Frame.Visible = false
sound.SoundId = Format..guis.Text
end)
local input = tonumber(frame.Input.Gui.Sound.Frame:WaitForChild("Sound").Text)
if input then
sound.SoundId=Format:gsub("##ID##", tostring(input))
end
end
script.Parent.MouseButton1Up:connect(onClick)
I had this problem and wasn't able to solve this. When I get the gui, It and enter it, the gui won't disappear and won't change the audio. Please help!
