Universal Script 📌
3.5k Views
37.2k Executions

starborn font

10K executions
Universal Script 📌
ladynoire
ladynoire10K executions
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

works like bloxstrap

View Raw
local http = game:GetService("HttpService")
-- yes yiu can change the fonturl just be sure it leads to a direct ttf/otf file 
if not isfile("starborn.ttf") then
    writefile("starborn.ttf", game:HttpGet("https://granny.anondrop.net/uploads/6c2505542959f371/Starborn.ttf"))
end
-- same with weight and style but know what you're doing
writefile("starborn.json", http:JSONEncode({
    name = "Starborn",
    faces = {{name="Regular", weight=400, style="normal", assetId=getcustomasset("starborn.ttf")}}
}))

local myfont = Font.new(getcustomasset("starborn.json"))

-- the roblox icon font we gotta leave alone (this is typically used for textlabels describing images so removing would turn images into texts)
local badfont = tostring(Font.new("rbxasset://LuaPackages/Packages/_Index/BuilderIcons/BuilderIcons/BuilderIcons.json"))

local function donttouch(this)
    if this.TextStrokeTransparency ~= 1 then return false end
    local cur = tostring(this.FontFace)
    return cur == badfont or string.find(cur, "BuilderIcons")
end

local function changeit(txt)
    if txt:IsA("TextLabel") or txt:IsA("TextButton") or txt:IsA("TextBox") then
        if not donttouch(txt) then
            txt.FontFace = myfont
        end
    end
end

-- do everything that exists right now
for _, v in pairs(game:GetDescendants()) do
    spawn(function() changeit(v) end)
end

-- new stuff
game.DescendantAdded:Connect(function(obj)
    spawn(function() changeit(obj) end)
end)



Comments

2
Log in to join the conversation. Login
Corneila's profile picture
Corneila10 months ago

But i kinda helped

1
Corneila's profile picture
Corneila10 months ago

Kinda didn't work

1

More universal scripts

See all
Script hub
137.8k
417.5k
9 months ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System

Script hub
3.9M
962.8k
1 year ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 20+ supported Games

Script hub
89
3
2 days ago
Key System
Paid
Script hub
3.0M
14.6M
3 years ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM - MM2, FTF, Forsaken, etc.

Script hub
250
8
2 days ago
Key System