How do you make text bold with new FontFace property?

I am trying my hardest to make text in a TextLabel bold. Everything I do seems to put me in the wrong direction, and the engine documentation is not helpful.

At first I tried label.FontFace.Weight = Enum.FontWeight.Bold which does nothing.
Then I tried label.FontFace.Bold = true which also does nothing
Then I tried label.Font.Weight = Enum.FontWeight.Bold which returns Weight cannot be assigned to.

Am I doing something wrong? Please help as I am certian I cannot find proper documentation that points me to the right property to edit. Thanks.
Before you answer it, I can’t use RichText in my use case.

3 Likes
local TextLabel = script.Parent.TextLabel

--Grab the current FontFace and Apply the 'ExtraBold' Weight
local fontFace = TextLabel.FontFace
fontFace.Weight = Enum.FontWeight.ExtraBold

--Set the Text's FontFace to the updated FontFace
TextLabel.FontFace = fontFace
6 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.