ChatMakeSystemMessage is Not Working?

I am trying to use the StarterGui to create a system message but nothing happens. This code should write “This is the text that should show up in the chat” in the chat but nothing shows up.

while true do
	wait(3)
	print("Ran!")
	game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", "This is the text that should show up in the chat", Color3.new(51,255,51), Enum.Font.SourceSans, Enum.FontSize.Size18)
end

This is inside of a local script in the StarterPlayerScripts. I’ve also tried to put it in the StarterGui and StarterCharacterScripts but nothing works. It successfully prints out “Ran!” but the system message part doesn’t work.

1 Like

It looks like you dont have a table, I would use AlvinBlox’s tutorial on this; https://youtu.be/FA2RJytpwSQ
It still goes in the localscript and all. The finished table is near the end of the video. I would use that as an example.

Another thing you could do is just add the { after calling :SetCore and } before the parenthesis at the end

1 Like

o yea image it says dictionary, thanks

1 Like