Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How come this script doesn't customize my chat?

Asked by
Jephi 42
7 years ago

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.

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

Answer this question