Custom Leaderstats Formatting Framework
The complete configuration-driven leaderstats system for Roblox. Dynamic abbreviations, grid layouts, and Tab-toggle visibility—all from one central config.
Framework Structure
CLFF is organized into three core scripts for clean separation of concerns:
CLFFConfig
CLFFServer.server
CLFFClient.client
Grid Layout System
Automatically arranges stats in a responsive grid with configurable stats-per-row. All rows are centered for a balanced, professional appearance.
CLFFConfig.StatsPerRow = 3 -- 3 stats per row
CLFFConfig.Stats = {
{StatName = "Coins", DisplayName = "Coins", ...},
{StatName = "Kills", DisplayName = "Kills", ...},
{StatName = "Deaths", DisplayName = "Deaths", ...},
{StatName = "Level", DisplayName = "Level", ...},
{StatName = "Wins", DisplayName = "Wins", ...},
}
Smart Abbreviations
Automatic number formatting with 21 levels of abbreviations (K, M, B, T, Qa, Qi, Sx... up to Vg). Configurable per-stat with custom thresholds.
{
StatName = "Coins",
UseAbbreviation = true,
AbbreviationThreshold = 1000,
Abbreviations = {
"K", "M", "B", "T", "Qa", "Qi", "Sx", "Sp", "Oc", "No",
"Dc", "Ud", "Dd", "Td", "Qad", "Qid", "Sxd", "Spd", "Ocd", "Nod", "Vg"
},
}
-- Update stat via secure API
_G.CLFF:Update(player, "Coins", 5000000) -- Displays as "5M"
_G.CLFF:Increment(player, "Coins", 1000000) -- Add 1M
_G.CLFF:Get(player, "Coins") -- Returns: 6000000
Full Customization
Control every aspect from a single config file. Colors, sizes, positioning, toggle keys, and more—no code diving required.
-- Toggle Settings
CLFFConfig.ToggleKey = Enum.KeyCode.Tab
CLFFConfig.DefaultVisible = true
-- Colors
CLFFConfig.MainFrameBackgroundColor = Color3.fromRGB(7, 12, 29)
CLFFConfig.DefaultBackgroundColor = Color3.fromRGB(18, 44, 103)
CLFFConfig.DefaultLabelColor = Color3.fromRGB(114, 178, 255)
-- Layout
CLFFConfig.StatsPerRow = 3
CLFFConfig.MaxVisiblePlayers = 8 -- Scrolling after 8 players
Why Choose CLFF?
All settings in one config file. No scattered script edits.
Server-side validation and rate limiting built-in.
Stats automatically center regardless of row count.
21 levels of abbreviations with per-stat control.
Update throttling and efficient client-server sync.
Open source and completely free to use.
Ready to Upgrade Your Leaderstats?
Get CLFF free and start building professional leaderboards in minutes. Complete documentation, API reference, and lifetime updates included.
Download Now