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. Firework Script

Configuration

Below is a table summarizing your main configuration parameters, followed by a code snippet for reference.

Parameter
Description
Example Value

Config.Command

The chat command players can use to launch fireworks (if UseCommand = true).

"firework"

Config.UseCommand

If true, enables the /firework command.

true

Config.UseItem

If true, players can use an item (e.g., “firework_item”) to set off fireworks.

true

Config.ItemName

The item name in your inventory system.

"firework_item"

Config.soundRadius

How far the firework sound effect travels (in meters).

150.0

Config.Fireworks

A table defining multiple firework “types” (models, particle effects, shot delays, etc.).

(See snippet below.)

Config = {}

Config.Command     = 'firework'
Config.UseCommand  = true
Config.UseItem     = true
Config.ItemName    = 'firework_item'
Config.soundRadius = 150.0

Config.Fireworks = {
    ['fireworkl'] = {
        prop         = 'ind_prop_firework_02',
        particleDict = 'scr_indep_fireworks',
        particleFx   = 'scr_indep_firework_fountain'
    },
    ['fireworkm'] = {
        prop         = 'ind_prop_firework_01',
        particleDict = 'proj_indep_firework_v2',
        particleFx   = 'scr_firework_indep_spiral_burst_rwb'
    },
    ['fireworkr'] = {
        prop         = 'ind_prop_firework_03',
        particleDict = 'proj_indep_firework_v2',
        particleFx   = {
            'scr_firework_indep_repeat_burst_rwb',
            'scr_firework_indep_ring_burst_rwb',
            'scr_firework_indep_spiral_burst_rwb'
        },
        shots = 50,
        minDelay = 500,
        maxDelay = 2000,
        minFlightTime = 100,
        maxFlightTime = 200,
        maxRocketsPerShot = 2,
        maxExplosionOffsetX = 3.0,
        maxExplosionOffsetY = 3.0
    }
}

(Customize each firework entry to fit your server’s style, from quick fountains to multi-rocket bursts!)

PreviousInstallationNextUsage

Last updated 5 months ago

🎇
⚙️