Universal Script 📌
874 Views
1.7k Executions

Nox - Deprecated

Universal Script 📌
notfynnn
notfynnn100K executions
4 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

Deprecated. Use the new one: • https://fiangg20.github.io/nox/ • https://scriptblox.com/script/Universal-Script-Baselined-Example-UI-Library-223058 Nox - Elevate Your Roblox UI Development Tired of clunky, rigid, and uninspiring user interfaces ruining the experience of your Roblox projects? That is precisely why Nox was created. Nox is a Material You and Material 3 inspired custom UI library tailored specifically for Roblox scripters and developers. Its core philosophy is simple: to provide a framework that delivers incredibly smooth transitions, dynamic theming, and exceptional developer flexibility, all without sacrificing ease of use. Key Features and Capabilities: Fluid, Premium Animations: Utilizing exponential easing styles and CanvasGroup elements, interacting with menus, switching tabs, and expanding dropdowns feels exactly like using a high-end modern application. Dynamic Palette Theming: Seamlessly switch between multiple meticulously designed presets—such as Ocean Blue, Emerald Green, or Pitch Black—with a single function call, instantly restyling the entire interface. Component Versatility: Build highly adaptable components, including auto-scrolling dropdowns for extensive lists, clean modal dialog overlays, and center-aligned buttons with adjustable width scaling. Nox handles the complexities of your visual hierarchy, allowing you to focus entirely on your core game scripting logic. Build sleek, professional utility panels and hubs efficiently. Note: This is a demo for Nox. We will release the full API as fast as possible.

View Raw
local tw = game:GetService("TweenService")
local uis = game:GetService("UserInputService")
local rs = game:GetService("RunService")
local plrs = game:GetService("Players")
local cg = game:GetService("CoreGui")
local http = game:GetService("HttpService")

local folderName = "M3 Lib Assets"
local jsonName = "m3font.json"
local ttfName = "GoogleSans.ttf"
local fontUrl = "https://github.com/fiangg20/Fian_gg-Repo/raw/refs/heads/main/GoogleSansFlex_24pt-Regular.ttf"

if not isfolder(folderName) then makefolder(folderName) end

if not isfile(folderName .. "/" .. ttfName) then
    local fontFile = game:HttpGet(fontUrl)
    writefile(folderName .. "/" .. ttfName, fontFile)
end

local assetURL = getcustomasset(folderName .. "/" .. ttfName)
local fontJsonData = {
    name = "CustomFamily_GoogleSans",
    faces = {
        {
            name = "Regular",
            weight = 400,
            style = "normal",
            assetId = assetURL
        }
    }
}

local pathJSON = folderName .. "/" .. jsonName
writefile(pathJSON, http:JSONEncode(fontJsonData))
local m3Font = Font.new(getcustomasset(pathJSON))

local m3Gray = Color3.fromRGB(202, 196, 208)

local cp = {
    ["Purple"] = {bg=Color3.fromRGB(28,27,31), fg=Color3.fromRGB(230,225,229), pri=Color3.fromRGB(208,188,255), onpri=Color3.fromRGB(56,30,114), inact=Color3.fromRGB(43,41,48), out=Color3.fromRGB(147,143,153)},


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!