Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to change font using rich text?

Asked by 3 years ago

I'm trying to use rich text in roblox, but whenever I try to use the font size tag, it never works

script.Parent.Text = "<font size=50>big</font>"

What I see on the label:

<font size=50>big</font>

0
https://developer.roblox.com/en-us/articles/gui-rich-text if you need more help on rich text. <font size="1000000000">robux</font> greatneil80 2647 — 3y

1 answer

Log in to vote
1
Answered by 3 years ago
Edited 3 years ago

You are missing the quotation marks around the 50. It should look like this:

script.Parent.Text = '<font size="50">big</font>'
Ad

Answer this question