Skip to content

Nexus-Scripts/nexusscripts-roblox-ui-custom-font-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 NexusScripts Custom Font Loader

Lua Discord License

A powerful and easy-to-use custom font loader for Roblox UI development. Transform your user interface with custom fonts while maintaining performance and reliability.

✨ Features

  • 🚀 Easy Integration - Simple API for registering and applying custom fonts
  • 🎯 Type Safety - Full support for TextLabel, TextButton, and TextBox elements
  • 🔍 Debug Mode - Built-in debugging capabilities for troubleshooting
  • 📦 Pre-loaded Fonts - Comes with a selection of ready-to-use fonts
  • Performance Optimized - Efficient font loading and caching system

📋 Installation

  1. Download the repository files
  2. Include the following files in your project:
    • custom_ui_fonts.lua - Main library
    • fonts/ directory - Contains font assets

🚀 Quick Start

-- Load the library
local CustomUIFonts = loadstring(readfile("custom_ui_fonts.lua"))()

-- Enable debug mode (optional)
CustomUIFonts.SetDebugMode(true)

-- Initialize default fonts
local fonts = CustomUIFonts.InitializeDefaultFonts()

-- Apply a font to a UI element
local success = CustomUIFonts.ApplyFont(myTextLabel, "ProggyClean")

💡 Usage Examples

Register a Custom Font

local customFont = CustomUIFonts.Register_Font("MyFont", 200, "Normal", {
    Id = "MyFont.ttf",
    Font = game:HttpGet("your_font_url_here")
})

List Available Fonts

local fontList = CustomUIFonts.GetAvailableFonts()
for _, fontName in ipairs(fontList) do
    print("Available font:", fontName)
end

📚 API Reference

Core Functions

Function Description
InitializeDefaultFonts() Loads and initializes the default font set
Register_Font(Name, Weight, Style, Asset) Registers a new custom font
ApplyFont(uiElement, fontName) Applies a font to a UI element
GetFont(fontName) Retrieves a font object by name
GetAvailableFonts() Returns a list of all available fonts
SetDebugMode(enabled) Toggles debug logging

🔧 Default Fonts

  • ProggyClean - Clean, modern programming font perfect for code displays
  • TahomaBold - Bold variant of the classic Tahoma, ideal for headers
  • Leadcoat - Stylish display font with unique character
  • MinecraftiaRegular - Pixel-perfect font inspired by retro gaming
  • ProggyTiny - Compact variant of Proggy font, ideal for small text
  • FSTahoma8px - 8-pixel variant of Tahoma, perfect for compact UI elements
  • Smallest Pixel-7 - Ultra-compact pixel font for minimal space requirements

🤝 Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests

📬 Support

Need help? Join our Discord community for support and updates.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ by NexusScripts

About

Roblox Exploit Custom Font Loader. Easily load custom fonts for your Roblox exploit UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages