game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(msg, rec) PlayerChat(msg, rec, plr) end)
end)
I have a chat GUI that connects users' chats to it through those three lines of code. For some reason that I don't know, a player's chat will just disconnect from the chat GUI for a reason I don't know. Could anyone tell me why from those three lines of code? Or could something in the function cause it to be disconnecting? |