
659 Views
36 Executions
ASCII api script api was not by me
Universal Script 📌 1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
You can look up the fonts but there's alot of them
-- * Ascii api text generator
-- * syn.request will be used, but it'll work for this script since we're using our own syn
-- * thanks to thelicato for the api; its just https://github.com/thelicato/asciified/tree/main
do local parms = {owner = "ProphecySkondo", repo = "Misc", branch = "main"} local function Import(file)
return loadstring(game:HttpGetAsync(("https://raw.githubusercontent.com/%s/%s/%s/%s.lua"):format(parms.owner, parms.repo, parms.branch, file)), file .. ".lua")() end if not syn then Import("Syn/main") getgenv().exploiter = true else getgenv().exploiter = true end end
local api = {
["starter"] = "https://asciified.thelicato.io/api/v2/ascii?text=", -- the text
["mid"] = "&font=", -- the font
}
local function ascii(text: string, font: string)
-- i could've just used string.format really
assert(type(text) == 'string', "Expected string got " .. text)
assert(type(font) == 'string', "Expected string got" .. font)
local url = api["starter"] .. tostring(text) .. api["mid"] .. tostring(font)
local asciiRequest, asciiResult = pcall(function()
return syn.request({
Url = url,
Method = "GET"
})
end)
if not asciiRequest then
if asciiResult == 0 then
asciiResult = "api error"
end
return
end
if asciiRequest and asciiResult.Body then
return asciiResult.Body
else
return "empty"
end
end
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








