SLONJOY DOCS

Universal Loader, In-Script Macros, and Telemetry API

Back to Dashboard

Quick Start: Delivering Scripts to Players

Players execute your scripts using the universal 1-line loader. On first execution, the loader opens the in-game key validation UI. Once a valid key is entered, it binds to the player's Hardware ID (HWID) and executes your payload.

loadstring(game:HttpGet("https://your-domain.com/api/v1/loader/raw?project=crazy-8-ball"))()

Replace crazy-8-ball with any project ID created in your SlonJoy dashboard (e.g. animal-food-hub or tame-giant-bugs).

In-Script Security Macros

SlonJoy automatically injects these secure functions into your scripts at runtime. You can call them directly inside your Luau code without importing any libraries:

SlonJoy_Blacklist(reason)

Immediately bans the player's license key and blacklists their HWID if tampering or decompilation is detected.

SlonJoy_Blacklist("Detected illegal detour hook on game metatable")
SlonJoy_WriteDB(id, value, overwrite, permission) SlonJoy_ReadDB(id)

Per-key and per-project cloud database. Store player configs or presets without needing an external database.

-- Save settings isolated to player key
local ok = SlonJoy_WriteDB("user_cfg", '{"autoFarm":true}', true, "Private")
-- Retrieve saved settings
local cfgJson = SlonJoy_ReadDB("user_cfg")
SlonJoy_Webhook(embedPayload)

Relays logs to your Discord webhook via SlonJoy server. Your actual Discord webhook URL is never exposed to client memory or decompilers.

SlonJoy_Webhook({
    embeds = {{
        title = "Execution Log",
        description = "User: " .. game.Players.LocalPlayer.Name,
        color = 65280
    }}
})

Custom In-Game Key UI Configuration

You can customize the in-game key prompt dialog (title, colors, theme, and logo) by calling SlonJoy_SetPanel(config) inside your loader:

_G.SlonJoy_SetPanel = {
    Title = "SlonJoy Premium Hub",
    Subtitle = "Enter your license key to execute",
    AccentColor = Color3.fromRGB(56, 189, 248),
    DiscordLink = "https://discord.gg/yourserver"
}