The Problem
Using the function StarterGui:SetCore(“ChatMakeSystemMessage”) does not change the size of the font in the chat as expected (or at all) when attempting to set the FontSize property. It will always default to Size18 (the current size of the font for the chat).
This works in Studio and in-game. Unavoidable unless you have a custom chat or an old version of the default chat.
Not sure when this started to happen, afraid to say.
Video Evidence
Reproduction Steps
- Open up any place; even an empty baseplate will do.
- Put this bit of code inside of a LocalScript where it can run (what was used in the video):
local Player,SGUI = game.Players.LocalPlayer,game:GetService("StarterGui")
if not Player.Character then Player.CharacterAdded:Wait() end
for A,B in pairs(Enum.FontSize:GetEnumItems()) do
wait(0.25)
print("SIZE:",B.Name)
SGUI:SetCore("ChatMakeSystemMessage",{Text = "TEST | "..B.Name,FontSize = B})
end
- Run it.
Place File (if you don’t feel like doing the steps above)
Chat Bug.rbxl (18.7 KB)