Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Radio script, help please?

Asked by 9 years ago

So I am making a Officer radio on the screen but it doesn't seem to work, got the on/off down.

01local Channel = game.Workspace.CityNetworkSite.Channels.Primary
02 
03game.Players.PlayerAdded:connect(function(player)
04 player.Chatted:connect(function(sender, message)
05  if script.Parent.Top.OnOrOff.Text == "(OFF)" then return end
06 if script.Parent.Top.OnOrOff.Text == "(ON)" then
07  script.Parent.Line1.Text = Channel.Line1.Value
08  script.Parent.Line2.Text = Channel.Line2.Value
09  script.Parent.Line3.Text = Channel.Line3.Value
10  script.Parent.Line4.Text = Channel.Line4.Value
11  script.Parent.Line5.Text = Channel.Line5.Value
12  script.Parent.Line6.Text = Channel.Line5.Value
13 
14 local function Update()
15  Channel.Line1.Value = Channel.Line2.Value
View all 27 lines...

Answer this question