Is there anyway to change if a text is italic or not through a script?
I have looked on the DevForum but can’t find anything and I have tried
TextLabel.FontFace.Style.Value = true
and other random stuff but those didn’t work and I am lost.
Is there anyway to change if a text is italic or not through a script?
I have looked on the DevForum but can’t find anything and I have tried
TextLabel.FontFace.Style.Value = true
and other random stuff but those didn’t work and I am lost.
Try this code snippet:
TextLabel.FontFace.Style = Enum.FontStyle.Italic
Alternatively you could enable the RichText
property and do the following:
local TextLabel = script.Parent.TextLabel
TextLabel.Text = "<i> Hello, world! </i>"
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.