Is there a way to make LegacyChatService work without SetCoreGuiChatConnections?

I am using the CoreGUI bug to hide CoreGui but after doing that the chat does not work and errors so is there a way to make it work without SetCoreGuiChatConnections?

Here is SetCoreGuiChatConnections:

function SetCoreGuiChatConnections(containerTable)
	local tries = 0
	while tries < MAX_COREGUI_CONNECTION_ATTEMPTS do
		tries = tries + 1
		local success, ret = pcall(function() StarterGui:SetCore("CoreGuiChatConnections", containerTable) end)
		if success then
			break
		end
		if not success and tries == MAX_COREGUI_CONNECTION_ATTEMPTS then
			error("Error calling SetCore CoreGuiChatConnections: " .. ret)
		end
		wait()
	end
end

Here is how I am disabling CoreGUI:

for _, child in game:GetChildren() do
	pcall(function()
		child.Name = "CoreGui"
	end)
end

I’m pretty sure Roblox will subject you to moderation if you don’t use their newer chat version. The old one is in progress of being completely removed

dude you cant do that you cant just show tha tdude

Can you at least tell me how to do this so I can use that information for other purposes at least?

Not sure if you can since TextChatService doesn’t have coding visible to developers like Legacy did. You could attempt to not rename whatever is chat related.

That is impossible because it is using SetCore which requires CoreGUI if I want to make it work I should not rename anything so it can find the right CoreGUI

i’m pretty sure that’s not enforced yet