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

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)

3 comments

0

It works for me

0

What I did was just make a localscript inside a text button and done

0

Change FontSize = Enum.FontSize.Size18 to TextSize = 18.

1 answer

✓ Accepted answer

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. :)

1 comment

1

fuck i forgot about making it a localscript

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