How can I use the custom installed text fonts on scripting?

So I have custom installed font from roblox and I am using it on my textlabels but is there a way to use it with instance.new?

local ErrorText = Instance.new("TextLabel", Container.Parent)
ErrorText.Position = UDim2.new(0.621, 0,0.462, 0)
ErrorText.Size = UDim2.new(0.124, 0,0.047, 0)
ErrorText.BackgroundTransparency = 1
ErrorText.FontFace = "Teko"

I can’t use

Enum.Font

because as I said it’s custom so would actually what I wrote work or is there any other method that I can do?

Using this article as reference shouldnt

ErrorText.FontFace = Font.new("rbxassetid://12187376174")

work?

3 Likes

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