⚙️Configuration

Below is a trimmed excerpt showing the most important switches. Everything is pure Lua – restart the resource after editing.

var Config = {
    // Music volume (0.0 – 1.0)
    volume: 0.5,

    // Loop the playlist
    loop: true,

    // Play a random track first when the loading screen starts
    randomStart: true,

    // Playlist
    songs: [
        {type: "local", src: "music/song2.mp3", cover: "music/cover2.png", title: "Invincible",            artist: "POP SMOKE"},
        {type: "local", src: "music/song3.mp3", cover: "music/cover3.png", title: "Legends",               artist: "Quavo, Lil Baby"},
        {type: "local", src: "music/song4.mp3", cover: "music/cover4.png", title: "PROMISE",               artist: "Luciano"},
        {type: "local", src: "music/song1.mp3", cover: "music/cover1.png", title: "Hold Out",              artist: "Lithe ft. FRVRFRIDAY"}
    ],

    // Social buttons
    socials: [
        {icon: "fa-brands fa-discord", url: "https://discord.gg/riskscripts"},
        {icon: "fa-brands fa-tiktok",   url: "https://www.tiktok.com/"},
        {icon: "fa-brands fa-youtube",  url: "https://www.youtube.com/@RISKSCRIPTS"},
        {icon: "fa-solid  fa-globe",    url: "https://risk-scripts.tebex.io/"}
    ],

    // Background settings
    background: {
        mode: "video",          // "video" or "image"
        videoId: "IUVW8Mf-PXg", // YouTube video ID when mode is "video"
        brightness: 0.08        // 0 = darkest, 1 = no change
    },

    // Placeholder values shown on FIRST JOIN only (display-only)
    firstJoin: {
        money: 12500,            // Money to display
        job: "Unemployed"        // Job placeholder
    }
};

MySQL Table

CREATE TABLE IF NOT EXISTS risk_lastchar (
  license VARCHAR(255) PRIMARY KEY,
  char_name VARCHAR(255),
  money    INT,
  job      VARCHAR(255)
);

Last updated