Ad
Log in to vote
0

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

Asked by 24 days ago

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

1 answer

Log in to vote
5
Answered by
C1RAXY 81
24 days ago

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
fuck i forgot about making it a localscript NoobciderLXKD2 5 — 23d
Ad

Answer this question