I'm trying to make it so when people under the name of ProCon712 or Jephi chat their chat Color3 value is (0, 1, 1), they have a fun of SourceSans, and the FontSize is 24. There are no errors in the output. The script is placed in Starter player scripts.
local devs = {"ProCon712","Jephi"}
local plr = game.Players.LocalPlayer
plr.Chatted:connect(function(devs)
if plr.Name == devs then
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Color = Color3.new(0, 1, 1)
Font = Enum.Font.SourceSans
FontSize = Enum.FontSize.Size24
})
end
end)
The script is a LocalScript.

3 comments
First off you have no text inside that table, but if you did this it would just duplicate the chat
yup he is right. secondly you have to variables called devs so that is a problem :/
I'm pretty sure you can't change already said text. You can only make new text. As the function suggests, "ChatMAKESystemMessage" not "ChatCHANGESystemMessage"