0

# Why does my code to send a message on chat by clicking on a gui not work?

No problems shows in the editor, i can't seem to be able to fix this.

local function leftClick()
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
Text = ("Angry Munci has Spawned!");
Color = Color3.new(255,255,255);
Font = Enum.Font.Creepster;
FontSize = Enum.FontSize.Size18;
})
end
script.Parent.MouseButton1Click:Connect(leftClick)

0
It works for me C1RAXY 81 — 24d
0
What I did was just make a localscript inside a text button and done C1RAXY 81 — 24d
0
Change FontSize = Enum.FontSize.Size18 to TextSize = 18. T3_MasterGamer 1701 — 24d

I don't see anything wrong with your code, make sure to run the script in LocalScript and I think it should work for you. :)