I’m not sure if i’m just stupid or you simply cannot do this through a script, but I’m trying to make the font bold whenever a players mouse enters the textbutton. I tried everything:
Enum.FrontFace.Style does not have bold
Enum.FrontFace.Weight does not change when I change it to bold or anything else
FrontFace.Bold = true doesn’t work either
DasKairo
(Cairo)
January 9, 2023, 12:23am
#2
This is very Simple:
TextLabel.FontFace.Weight = Enum.FontWeight.Bold
Something must be wrong then because I’ve tried that and that’s what I’m currently using. However, nothing changes. Here’s the code if that even helps
playFrame.MouseEnter:Connect(function()
playFrame.PlayButton.BackgroundColor3 = Color3.fromRGB(145, 145, 145)
playFrame.PlayButton.TextButton.FontFace.Weight = Enum.FontWeight.Bold
end)
playFrame.MouseLeave:Connect(function()
playFrame.PlayButton.BackgroundColor3 = Color3.fromRGB(255,255,255)
playFrame.PlayButton.TextButton.FontFace.Weight = Enum.FontWeight.Regular
end)
DasKairo
(Cairo)
January 9, 2023, 12:26am
#4
Make sure the Font you are using supports FontWeight
, some Fonts don’t Support some Types
if you want, use can just use UIStroke
as Bold
Ended up using UIStroke, bold just doesn’t work for any fonts i’ve tried. Appreciate it
system
(system)
Closed
January 23, 2023, 12:29am
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.