local HttpService = game:GetService("HttpService") local folderName = "shittyfont" if not isfolder(folderName) then makefolder(folderName) end local function loadCustomFont(fileTTF, fileJSON) local assetURL = getcustomasset(fileTTF) local fontData = { name = "CustomFamily_" .. fileJSON, faces = { { name = "Regular", weight = 400, style = "normal", assetId = assetURL } } } local pathJSON = folderName .. "/" .. fileJSON writefile(pathJSON, HttpService:JSONEncode(fontData)) local fontFamilyUrl = getcustomasset(pathJSON) return Font.new(fontFamilyUrl) end --how to use: myInstance.FontFace = loadCustomFont("path/to/font.ttf", "fontData.json")