# Configuration

```java
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
    }
};


```

## <mark style="color:yellow;">MySQL Table</mark>

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

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://risk-scripts.gitbook.io/risk-scripts/scripts/loadingscreen/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
