Fonts
Font
is one of the many customization options.
It accepts two types of data:
.
A custom font data table.
You can use it like this:
TextPlus.Create(
frame,
"This text is awesome!",
{
Font = Font.new(
"rbxasset://fonts/families/Arial.json", -- Family.
Enum.FontWeight.Regular, -- Weight.
Enum.FontStyle.Normal -- Style.
)
}
)
Built-in fonts
You can find a lot of fonts on the documentation page.
Simply copy the asset id from the font list and paste it into the Font
object's Family
.
Creator store fonts
Alternatively, browse many more fonts at the creator store.
Click Get Font
.
Create a TextLabel
in Roblox Studio and apply the font to it.
Make sure you have the TextLabel
selected, then run this in the command bar:
print(game.Selection:Get()[1].FontFace.Family)
It will output the asset id you need.
Simply copy-and-paste it into the Font
object's Family
.
Custom fonts
If it's still not enough, custom fonts offer endless possibilities. Learn all about it in the dedicated section:
Custom fontsLast updated