I am trying to send a message through the chat from a local script for when the player joins the server. I am pretty sure I did everything correctly but the message won’t appear even with everything I have tried.
Script (Local Script):
bc = BrickColor.new("Dark stone grey")
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = "{System} Welcome to this server!";
Font = Enum.Font.SourceSans;
Color = bc.Color;
FontSize = Enum.FontSize.Size96;
})
Piece of cake, you can use rich text markup, which is fairly close to html. Beware that any typos will cause raw text to be displayed.
Example:
local TextChatService = game:GetService("TextChatService")
local SystemChannel = TextChatService:WaitForChild("TextChannels"):WaitForChild("RBXSystem")
SystemChannel:DisplaySystemMessage(
"<font family='rbxasset://fonts/families/ComicNeueAngular.json' size='25' color='#FF7800'>Life</font> is like a " ..
"<font family='rbxasset://fonts/families/ComicNeueAngular.json' size='25' color='#964d00'>box of chocolate!</font>"
)