I have this phone that was not filtered before I asked on here they said were it sends it. I put it there but it just makes it not send at all. Here is my broken code.
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.values.newMessage.Value = script.Parent.Parent.Parent.thisPhone.Value .. ": " .. script.Parent.Parent.MessageBox.Text
string FilterStringAsync (
string stringToFilter,
Player playerFrom,
Player playerTo
)
local workphone = script.Parent.Parent.Parent.otherPhone.Value
local playerphone = workphone:FindFirstChild("player")
if playerphone.Value ~= nil then
local pp = playerphone.Value
pp.PlayerGui.PhoneGUI.ChatScreen.values.newMessage.Value = script.Parent.Parent.Parent.thisPhone.Value .. ": " .. script.Parent.Parent.MessageBox.Text
end
end)
function updateLine()
script.Parent.Parent.values.line10.Value = script.Parent.Parent.values.line9.Value
script.Parent.Parent.values.line9.Value = script.Parent.Parent.values.line8.Value
script.Parent.Parent.values.line8.Value = script.Parent.Parent.values.line7.Value
script.Parent.Parent.values.line7.Value = script.Parent.Parent.values.line6.Value
script.Parent.Parent.values.line6.Value = script.Parent.Parent.values.line5.Value
script.Parent.Parent.values.line5.Value = script.Parent.Parent.values.line4.Value
script.Parent.Parent.values.line4.Value = script.Parent.Parent.values.line3.Value
script.Parent.Parent.values.line3.Value = script.Parent.Parent.values.line2.Value
script.Parent.Parent.values.line2.Value = script.Parent.Parent.values.line1.Value
script.Parent.Parent.values.line1.Value = script.Parent.Parent.values.line0.Value
script.Parent.Parent.values.line0.Value = script.Parent.Parent.values.newMessage.Value
script.Parent.Parent.values.newMessage.Value = ""
end
script.Parent.Parent.values.newMessage.Changed:connect(updateLine)
Please help me. Thanks!
