Welcome to the next generation of server entertainment! **NSR Boombox** is a premium, highly optimized music script that allows your players to play their favorite YouTube tracks anywhere in the city.
Unlike basic scripts that rely on default menus, NSR Boombox features a **completely custom, modern, and glassmorphic UI** that gives your server a professional feel.
### 🌟 Features
* **Modern Custom UI:** Say goodbye to boring default menus. Our bespoke UI is sleek, draggable (optional), and user-friendly.
* **YouTube Audio Streaming:** Powered by `xsound`, players can paste any YouTube URL to stream high-quality audio.
* **Live Audio Controls:** Players can adjust the volume and 3D sound distance *while* the music is playing—no need to stop and restart the track!
* **Target System Support:** Fully compatible with `qb-target` and `ox_target` for placing, opening, and picking up the boombox.
* **Highly Optimized:** Runs at 0.00ms idle, ensuring no impact on server performance.
* **Escrow Protected with Open Features:** The core logic is secured via FiveM Escrow, but the `config.lua` and **all UI files (HTML/CSS/JS)** are completely open. You can easily translate the text, change the colors, or add your server's logo!
### 🔧 Dependencies
Please ensure you have the following resources installed before purchasing:
* **Framework:** QBCore or ESX Legacy
* **Audio:** `xsound` (Required for 3D spatial audio)
* **Target:** `qb-target` or `ox_target` (Highly recommended)
* **Inventory:** `qb-inventory`, `ox_inventory`, or standard ESX inventory.
### 🛠️ Easy Installation
1. Drag and drop `nsr-boombox` into your resources folder.
2. Add the `boombox` item to your inventory's shared items list (instructions provided in the ReadMe).
3. Ensure `xsound` is started *before* this script.
4. Restart your server and enjoy!
