This error happens because TextChannel:AddUserAsync returns nil and is later accessed at line 110.
If the user has chat off or isn’t in the server, this returns a tuple nil, false.
local function v66(v62)
for _, v64 in ipairs(v24) do
v16:trace("Adding user {} to TextChannel: {}", tostring(v62.UserId), v64.Name);
local v65 = v64:AddUserAsync(v62.UserId); -- This can return nil and isn't checked
if v64.Name == "RBXGeneral" then
v65.CanSend = true;
elseif v64.Name == "RBXSystem" then
v65.CanSend = false;
end;
end;
end;
Expected behavior
The TextSource?
returned by AddUserAsync
should be checked for if it is nil.