-
Filtering a text label
-
I can’t figure out how to filter it
function DisplayMessage(FrameToOutput,Message)
FrameToOutput.LineSix.Text = FrameToOutput.LineFive.Text
FrameToOutput.LineFive.Text = FrameToOutput.LineFour.Text
FrameToOutput.LineFour.Text = FrameToOutput.LineThree.Text
FrameToOutput.LineThree.Text = FrameToOutput.LineTwo.Text
FrameToOutput.LineTwo.Text = FrameToOutput.LineOne.Text
FrameToOutput.LineOne.Text = Message
end
function ConfigMessage(Player,Message,Channel)
local RadioGui = script.Parent
local FrameToOutput = RadioGui:FindFirstChild(Channel)
local ConfiguredMessage = Player.Character.Value.Value..": "..Message
DisplayMessage(FrameToOutput,ConfiguredMessage)
end
remote.OnServerEvent:Connect(function(Player,Message,Channel)
ConfigMessage(Player,Message,Channel)
end)