Update on Legacy Chat Deprecation and TextChatService Migration

what do you mean? the only thing that’s there is the blue colors, that’s it. And that was only used on an active channel bar where it has that old Roblox colors.

1 Like

You can use CoreGuiChatConnections to determine if chat visibility has changed. Make sure you fire the bindable for VisibilityStateChanged when handling events from SetVisible, ToggleVisibility and CoreGuiEnabled to avoid any visual bugs.

local visibilityState = Instance.new("BindableEvent")
local visibilityChanged = Instance.new("BindableEvent")

visibilityChanged.Event:Connect(function()
	print(`Chat Visible: {game.StarterGui:GetCore("ChatActive") and game.StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Chat)}`)
	visibilityState:Fire(game.StarterGui:GetCore("ChatActive"))
end)

game.StarterGui:SetCore("CoreGuiChatConnections", {
	["ChatWindow"] = {
		["VisibilityStateChanged"] = visibilityState, 
		["SetVisible"] = visibilityChanged,
		["ToggleVisibility"] = visibilityChanged, 
		["CoreGuiEnabled"] = visibilityChanged
	}
})
2 Likes

bro i feel so bad for Azure Mines, you legit won’t be able to chat in it anymore.

unless berazaa sees this and actually switches

1 Like

That did work but to an extent, what I’m trying to achieve is identifying if the box itself is visible not just if chat is toggled on.

Attached is video of what I’m needing it for.

1 Like

What I meant was that it had this more lively design than the current one.

1 Like

Just going to put this answer down again here, summarizes everything well.

2 Likes

Is there any way to contact roblox admin to report a bug of their moderation system and false deleting roblox account?

1 Like

Possibly every point that Admins and Engineers have pointed out has already been debunked and proven false, they’re just doing it to convince people to migrate, cute, honestly.
When the main point isn’t even the service itself, but rather, our freedom of choice.

Compared to before, I think I’m much more willing to accept TextChatService now. However, I still do not have full feature equivalence, which makes reimplementing some of my desired features absolutely impossible rather than just more difficult. I’m hoping Roblox can address this.

4 Likes

Agreed with this one, some people prefer old chat. Not everyone uses new one.

2 Likes

In that case you’ll have to rely on hard coding some delays to know when the chat “fades out” and keeping track of player inputs like the input box being focused or the mouse entering the chatbox window to know when it fades in. I did that with my chat so I have the flexibility to change the background etc. Its not the most elegant solution but all I could think of after toying around for so long.

Heres an example of what I was able to do. The real TextChatService background (green) fades out earlier than I want it to, so a window (red) comes in after a bit. This example isn’t perfect because the solution I implemented has a little more trickery going on, but it illustrates what is possible. For this example I’ve gone and copied ExperienceChat from CoreGUI and am automatically resizing/positioning it based on the values in TextChatService.ChatWindowConfiguration.

4 Likes

kinda liked the old chat better

2 Likes

It would be nice if there were easier direct ways to customize the chat window. I would like to make it as wide as the Legacy chat’s was, but there seems to be a UISizeConstraint preventing me from doing so and the provided HeightScale and WidthScale properties do not let me exceed it

1 Like

Yeah that’s pretty what my clump of a script is just wish they’d introduce an actual event for it similar to how they’ve got for if your focused on the chatbox.

1 Like

Great I think this is good.
Also NO ONE CARES. What about the home recommendations? Are there not 200 devs waiting for a responses ont he post “limiting low quality experiences” maybe a DETAILED SUMMARY OF CHANGES? Instead of this useless “innovation” that is 1000% not needed.

That’s going to break any game that tries to use StarterGui Chat Function, I would recommend fixing the new chat service to work better with the old startergui scripts that utilize chat messages.

does that mean that i can not make a custom chat system even if i use CanUserDirectChatAsync ?

You can make a custom chat system, as long as you use TextChannel:SendAsync()

2 Likes

but this is not a custom chat this is just the default chat

i like the old chat’s look way more, mostly because of its simpler look and actually being able to read messages

cant there just be an option for using the older look but also using the new system? idk, maybe im completely wrong here but since you can customize the look of the chat, cant roblox just provide us with the old look for us to use?