RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • 🔔Notify
      • ⚙️Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🖼️Loadingscreen
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🔎Advanced Metal Detector Script
      • 📝Editable
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️24/7 Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Weapon Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Black Market Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚗Simple Garage
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎒Outfit Bag Script
      • 💡Installation
      • ⚙️Configuration
      • ⚙️Usage
      • ❔FAQ / Troubleshooting
    • 🔘Radial Menu
      • 💡Installation
      • ⚙️Commands & Event Triggers
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🗒️TicTacToe / X and O
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • ⚙️Advanced Crafting System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍕Pizza Delivery Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎇Firework Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 📦Blindfold
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  1. SCRIPTS
  2. Loadingscreen

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)
);
PreviousInstallationNextUsage

Last updated 1 month ago

🖼️
⚙️