> For the complete documentation index, see [llms.txt](https://thug.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thug.gitbook.io/documentation/scripts/roleplay-scripts/thug-coke-snorting/shared-effects.lua.md).

# shared/effects.lua

```lua
-- | # For the most quality and unique FiveM resources: https://thug-studios.com
-- | # If you need help, join our Discord server: https://discord.gg/thugstudios

-- | # Cocaine Effects ----------------------------------------------------------
-- |
-- | HOW IT WORKS:
-- | Each cocaine entry has a Lines array. Each entry defines what happens at that line threshold.
-- | Only include fields that differ from defaults. Omitted fields are treated as inactive.
-- |
-- | FIELD REFERENCE (Lines array):
-- | Line         = which line activates this level (intoxication stacks)
-- | Slow         = sprint multiplier (< 1.0 = slower)
-- | Fast         = { Speed = 1.05, Seconds = 8 } temporary speed boost (multiplier + duration)
-- | Euphoria     = true to play the FocusIn screen effect (timing controlled by Config.Euphoria)
-- | Notification = notification shown on level change
-- | Add_Armor    = armor added per line (capped at 100)
-- | Add_Health   = health added per line (capped at max health)

Config.Effects_Profile = {

    -- | # Cocaine 1g ------------------------------------------------------------
    coke_1g = {
        Lines = {
            { Line = 1, Notification = 'Your nose starts burning.' },
            { Line = 3, Fast = { Speed = 1.08, Seconds = 8 }, Euphoria = true,  Notification = 'A wave of energy hits you.' },
            { Line = 6, Fast = { Speed = 1.10, Seconds = 8 }, Euphoria = true, Notification = 'Your heart races, everything speeds up.' },
            { Line = 10, Fast = { Speed = 1.08, Seconds = 8 }, Euphoria = true,  Notification = 'Paranoia kicks in... like someone is behind every corner.' },
            { Line = 13, Euphoria = true, Notification = 'Your head spins, you are losing control.' },
        },
    },

}

```
