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()