So I am making a Radio gp and the scripts are not working. I want to make it to where everyone can hear the music.
--Local Script
script.Parent.MouseButton1Click:Connect(function()
script.Parent.RemoteEvent:FireServer()
end)
--Server Script
script.Parent.RemoteEvent.OnServerEvent:Connect(function(player)
local Radio = player.Character.Radio
local input = script.Parent.Parent.Input.Text
local sound = Radio.Sound
sound.SoundId = 'rbxassetid://'..input
sound:Play()
end)

1 comment
What ended up working?