Patriot Key System

A modern key system UI for Roblox executors. Supports Junkie, Panda Auth, Luarmor SDK integration, persistent key storage, and keyless mode.

Luau 96.4% 4 SDK 3 Stars Keyless Mode
View Examples

Core Features

Designed for executor scenarios, balancing flexibility and ease of use.

Multi-SDK Integration

Native support for Junkie, Panda Auth, Luarmor, and custom HTTP backends. Switch between services with minimal code changes.

Persistent Storage

Keys are saved locally and auto-validated on subsequent launches. No need to re-enter keys every session.

Keyless Mode

Skip the key system entirely with configurable keyless mode options. Perfect for free scripts and testing.

Modern UI Design

Adapts to Roblox executor visual style with smooth animations. Fully customizable appearance and theme.

Custom Validation

Define your own key validation logic with full control. Support for simple string matching to complex API calls.

Auto Update Check

Built-in update mechanism to stay compatible with latest SDKs. Changelog display for version history.

Multi-SDK Support

Patriot Key System abstracts the verification layer, allowing seamless switching between different backend services.

Luarmor API

Luarmor API

Luarmor security service integration with advanced encryption and license management.

Secure
Panda Auth

Panda Auth

Lightweight Panda Auth support for small projects and rapid deployment with minimal setup.

Lightweight
Junkie SDK

Junkie SDK

Official Junkie service integration for stable key verification with automatic validation.

Recommended

Custom HTTP

Generic HTTP configuration to connect to your own backend API. Full control over validation logic.

Flexible

Usage

Integrate in three steps, quick start.

1
Load the Library
Use loadstring to fetch PatriotUi.luau from GitHub.
2
Configure Your SDK
Choose between Luarmor, Panda Auth, Junkie, or Custom HTTP.
3
Customize & Launch
Set Appearance, Theme, Links, and call Patriot:Launch().

Complete Examples

Click tabs below to view initialization code for each SDK.

Luarmor Luarmor
Panda Panda Auth
Junkie Junkie
Custom HTTP
-- Luarmor 卢阿莫
Patriot:LaunchLuarmor({
    scriptId = "YOUR_SCRIPT_ID_HERE"  -- Your Luarmor Script id|你的卢阿莫脚本id
})
-- luarmor system invoke|卢阿莫系统调用

Luarmor integration. Provide your script ID to enable license verification through Luarmor's security service.

-- Panda Auth |熊猫 Auth
Patriot:LaunchWilkins({
    serviceId = "your-service-id",
    debug = false,
    kickOnDetect = false,
    openDashboard = true,
    validationTimeout = 600,
    onTamper = function(flags) warn("Tamper detected:", table.concat(flags, ",")) end,
    onSessionEnd = function(reason, msg) warn("Session ended:", reason, msg) end,
})
-- Panda Auth Key System SDK integration|熊猫密钥系统sdk集成

Panda Auth integration. Configure service ID, debug mode, tamper detection, and session handling.

-- LaunchJunkie(config)|Junkie SDK integration with automatic validation
Patriot:LaunchJunkie({
    Service = "YOUR_SERVICE_NAME",
    Identifier = "YOUR_IDENTIFIER",
    Provider = "YOUR_PROVIDER_NAME"
})
-- Keys are automatically validated through Junkie
-- 密钥通过Junkie自动验证

Junkie SDK integration. Provide service name, identifier, and provider for automatic key validation.

-- HTTP API Validation | Validate keys through your own API endpoint
local HttpService = game:GetService("HttpService")
Patriot.Callbacks.OnVerify = function(key)
    local success, response = pcall(function()
        return game:HttpGet("https://api.yoursite.com/validate?key=" .. key)
    end)    
    if success then
        local data = HttpService:JSONDecode(response)
        return {
            valid = data.valid,
            error = data.error or "UNKNOWN",
            message = data.message or "Invalid key"
        }
    end  
    return false
end
-- HTTP API验证 | 通过您自己的API端点验证密钥。

Custom HTTP validation. Define your own API endpoint to validate keys with full control over the request and response handling.

Full Configuration

Complete example with all options, callbacks, and theme customization.

local Patriot = loadstring(game:HttpGet("https://raw.githubusercontent.com/SyndromeXph/Patriot-Key-System-Ui-Library/refs/heads/main/PatriotUi.luau"))()  

-- Appearance|外观
Patriot.Appearance = { 
    Title = "Patriot",
    Subtitle = "Verify Key to enjoy",
    Icon = "rbxassetid://95721401302279",
    IconSize = UDim2.new(0, 30, 0, 30)
}

-- Links|链接
Patriot.Links = {
    GetKey = "",
    Discord = "https://discord.gg/xxxxxxx"
}

-- Storage|存储
Patriot.Storage = {
    FileName = "Patriot_Key",
    Remember = true,
    AutoLoad = false
}

-- Options|选项
Patriot.Options = {
    Keyless = false,  -- Keyless Mode
    Blur = true,
    Draggable = true
}

-- Theme|主题 (Black & Red)
Patriot.Theme = {
    Accent = Color3.fromRGB(220, 20, 60),
    AccentHover = Color3.fromRGB(255, 30, 80),
    Background = Color3.fromRGB(0, 0, 0), 
    Header = Color3.fromRGB(10, 10, 10),
    Input = Color3.fromRGB(20, 20, 20),
    Text = Color3.fromRGB(255, 255, 255),
    TextDim = Color3.fromRGB(150, 150, 150),
    Success = Color3.fromRGB(50, 255, 50),
    Error = Color3.fromRGB(255, 30, 80),
    Warning = Color3.fromRGB(255, 255, 0),
    StatusIdle = Color3.fromRGB(180, 40, 60),
    Discord = Color3.fromRGB(220, 20, 60),
    DiscordHover = Color3.fromRGB(255, 30, 80),
    Divider = Color3.fromRGB(30, 30, 30),
    Pending = Color3.fromRGB(40, 40, 40)
}

-- Callbacks
Patriot.Callbacks.OnVerify = function(key)
    return key == "THIS_IS_KEY"  -- Simple validation
end

Patriot.Callbacks.OnSuccess = function()
    print("✅ Verification successful, loading script")
    -- loadstring(game:HttpGet("YOUR_SCRIPT_URL"))()   
end

Patriot.Callbacks.OnFail = function(errorMsg)
    print("Failed:", errorMsg)
end

Patriot.Callbacks.OnClose = function()
    print("User closed the verification window")
end

-- Changelog|更新日志
Patriot.Changelog = {
    {Version = "v0.0.4", Date = "May 30, 2026", Changes = {"Add Panda Auth SDK integration","Support Panda Auth Key System"}},
    {Version = "v0.0.4", Date = "May 30, 2026", Changes = {"Fixed luarmor version script id"}},
    {Version = "v0.0.3", Date = "May 27, 2026", Changes = {"Add Key System Ui"}},
    {Version = "v0.0.2", Date = "May 27, 2026", Changes = {"Support luarmor", "Fixed bug"}},
    {Version = "v0.0.1", Date = "May 27, 2026", Changes = {"Add Something"}},
    {Version = "v0.0.0", Date = "May 10, 2026", Changes = {"Initial release"}}
}

-- Shop|商店
Patriot.Shop = {
    Enabled = false,
    Icon = "",
    Title = "Get Premium Access",
    Subtitle = "Instant delivery • 24/7 support",
    ButtonText = "Buy",
    Link = ""
}

-- Launch|启动
Patriot:Launch()