I have tried making a walkie talkie for ages, but it never works! Please Help!

Here is one of the lines:

script.Parent.Equipped:Connect(function()
	game.Players.Localplayer.Chatted:Connect(function(msg)
		game:GetService("Chat"):Chat(workspace.Radio, msg, Enum.Chatcolor.White)
	end)
end)