Wait until chat interface is loaded?

From what I understand, calling TextChatService:DisplaySystemMessage() will not display any given messages until the local player’s built-in chat GUI is fully loaded. That creates a problem in which messages that get sent earlier won’t display, which disrupts things like welcome messages, notes, and other things that could be critical for the player to read when they first join the game.

I’m really against the idea of slapping a task.wait() at the start of the local script calling the function; it’s an unintuitive and unreliable temporary fix. There has been a suggestion to add a workaround, but it was posted a really long time ago with no response whatsoever.

Are there any long-term, reliable workarounds or methods that I can use?
Thanks for reading :slight_smile:

The Chat Interface will surely be loaded by the time CharacterAppearenceLoaded has been fired.

Or you can yield until TextChannels has been added under TextChatService

1 Like

Tried both of them, didn’t work. How is the character appearance related to the chat system, though?

It doesn’t have to be related, you can try to pinpoint what you can react to knowing full well chat interface has loaded by then