An example of this happening is in Framed were when a player gets killed, in the chat itself appears: "x has killed y". How do i manage to do that?
Server Chat Message?
1 answer
After recent updates, the technique of making a system chat message has become quite simple. Released on September 8, 2015, ROBLOX officially released the function SetCore() to the Rblx.Lua API.
Some things to keep in mind about SetCore:
- They can only be used in LocalScripts, so you can not do like SetCore('ChatBarDisabled',true) and expect to mute all players.
- Not all functions work, some functions like ChatBarDisabled or SendNotification do not work as of this time. They are included, but have yet to be released publicly.
How you can use SetCore to make a system message is quite easy, follow the code below.
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
Text = "Welcome to my game!"; --This is a required field, it will allow you to set the message to any string you want.
Color = Color3.new(0,1,1); --This is optional, it will allow you to add a custom color to the chat, however will default to Color3.new(255/255, 255/255, 243/255) if not set.
Font = Enum.Font.SourceSans; -- Optional, defaults to Enum.Font.SourceSansBold --This is optional, this field will allow you to change the font of the text to any of the current 7 fonts you want.
FontSize = Enum.FontSize.Size24; -- Optional, defaults to Enum.FontSize.Size18 --This is once again optional, and you can change it to any of the existing sizes.
})
######Hopefully this answer helped. If it did, upvote or if it answered your question, hit accept answer!
5 comments
First of all that code did not help me
@DogeindustriesYT, you could... and this is a crazy idea, ask a question of your own so we can point you in the right direction? Surely an answer to have gotten five upvotes and an acceptance is a reasonable explanation. You could also explain why the code did not help you.
You mean RBX.Lua?
You got the idea, right?
This helped. This worked, and thank you for explaining it! i understand how the code works, and the code is not faulty :D
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
@lukeb50 but how did pa00 did that with his game?
@lukeb50 Actually, you do not need a custom chat to do it, all you need is to follow the example for SetCore in the ROBLOX Wiki. It's pretty straight forward. SetCore will utilize ROBLOX CoreGui elements for developer use and manipulation, and ROBLOX is still working on new commands to use.