SetCore: ChatMakeSystemMessage has not been registered by the CoreScripts

I’m trying to make a script which sends a welcome message to the player when he joins the game. However, whenever the player joins, this error occurs:

SetCore: ChatMakeSystemMessage has not been registered by the CoreScripts

I have tried switching the ChatVersion property from LegacyService to TextChatService but it still doesn’t fix the issue.

This is the LocalScript located inside the StarterPlayerScripts folder:

function SendWelcomeMessage()
	game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
		Text = ("Welcome,"..game.Players.LocalPlayer.Name.."!");
		Font = Enum.Font.SourceSansBold;
		FontSize = Enum.FontSize.Size32;
		Color = Color3.new(0.984314, 1, 0);
	})
end

SendWelcomeMessage()

According to the docs:

Display a formatted message in the chat. Using this method requires the experience’s TextChatService.ChatVersion to be set to LegacyChatService, although legacy chat is deprecated and usage is discouraged. For experiences using the current TextChatService, refer to TextChannel:DisplaySystemMessage().

Would recommend that you use TextChatService and TextChannel:DisplaySystemMessage().

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.