FontFace Weight not changing

I am trying to make a main menu GUI and want the text to bold when hovered over, however the text’s fontface weight does not change.

My Code: (“Play” Refers to a TextButton Instance.)

Play.MouseEnter:Connect(function()
	Tween(Play.ImageLabel, 0)
	Play.FontFace.Weight = Enum.FontWeight.ExtraBold
end)

Play.MouseLeave:Connect(function()
	Tween(Play.ImageLabel, 1)
	Play.FontFace.Weight = Enum.FontWeight.Regular  
end)
1 Like

What is the font you’re using? Perhaps the font doesn’t have that weight available.

1 Like

Merriweather font, it looks like it bolds fine when you set it manually. (merriweather may not have ExtraBold but i also tried Bold and still doesnt work.)

1 Like

Have you tried adding print statements to your code?

1 Like

Yes, it doesn’t work still but I found a alternative, tweening the TextStrokeTransparency, I forgot about that property and it achieves a better effect than what i was aiming for.

2 Likes

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