Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Chat gui problem ?

1 answer

This question has been answered in another topic, which you can check out here. However, I will answer it again here.

The image you showed us was using ROBLOX's CoreGui to display messages. After an update early in September, ROBLOX has released the function :SetCore() to provide more of manipulation toward the ROBLOX CoreGuis such as the Chat and Notifications. To achieve what you showed us in the image, you are going to want to create a LocalScript and use the below code.

game:GetService('StarterGui'):SetCore('ChatMakeSystemMessage', {})

Inside the brackets in the above code, you're going to want to add the properties. Those should look something like {Text = 'Hello', Color = Color3.new(0,0,0)}. I will put the list of editable properties for the message.


Text required - The message you want displayed in the function.
Color optional - Color of the chat message, will default to a shade of white, must be a Color3 Value.
Font optional - Defaults to SourceSansBold, sets font to desired design.
FontSize optional - Defaults to Size18, sets size to desired design.


Overall when the code it done it should look something like below.

game:GetService('StarterGui'):SetCore('ChatMakeSystemMessage',{
    Text = 'Hello World!',
    Color = Color3.new(1,1,0),
    Font = Enum.Font.SourceSansItalics,
    FontSize = Enum.Size.Size48
})

A couple things to remember about the SetCore function is, not all the functions work and some are still in development. As well as SetCore will only work in a LocalScript.

######If this answer helped, leave a upvote. If it solved your problem, then hit that accept answer button to the right.

This discussion is preserved as it was. New answers, comments, and votes are closed.