Chat Welcomer

This is a super simple script that welcomes a player in your game in chat.

by raffkaisa

Author Avatar

This script is so easy its only 6 lines of code.

First you are going to need to insert a local script in starterplayerscripts.

Now we need to get the chat to send a message by getting the startergui.

game.StarterGui:SetCore("ChatMakeSystemMessage", {
})

Now we need to tell the script what we want the message to say, the color of the message, the font and the font size. So inside the code you just wrote you are going to write these things.

    Text = "Welcome Message Here";
    Color = Color3.new(255, 221, 0);
    Font = Enum.Font.SourceSansBold;
    FontSize = Enum.FontSize.Size24;

For the Text you can put whatever message you would like. For the color, you can put any color you would like (in RGB format) inside the brackets. For the font you can put any font name that is supported by roblox. Now for the font size, I reccomend 24 but you can play around and put any size you'd like.

And thats it!

Your final code should look like this

game.StarterGui:SetCore("ChatMakeSystemMessage", {
    Text = "Welcome to my game!";
    Color = Color3.new(255, 221, 0);
    Font = Enum.Font.SourceSansBold;
    FontSize = Enum.FontSize.Size24;
})
--raffkaisa <3

View in-game to comment, award, and more!