I have been making a chat gui, but my chatbox wont react when it loses focus. It works as it should if I play solo, but upon starting a server/going online it wont work and there is no error outputs:
script.Parent.FocusLost:connect(function(EnterPressed)
if EnterPressed and script.Parent.Text ~= "" then
script.Parent.Parent.Value.Value = script.Parent.Text
script.Parent.Text = "Press T, /, or click here to chat"
end
if script.Parent.Text == "" then
script.Parent.Text = "Press T, /, or click here to chat"
end
end)
Anyone who can help?

1 comment
Not quite what I was looking for... I now know that that is possible, but that is not what I wanted to know.