[ESX/QBCORE/QBOX] Not a Carrier Heist

A script by NotAScript

No reviews yet.
[ESX/QBCORE/QBOX] Not a Carrier Heist main image

Full Description

Preview

GET IT HERE FOR 6$ (Including VAT)
Want to check my other scripts? https://not-a-script.tebex.io

https://not-a-script.tebex.io/package/6483989

How the script works ?

  1. Find the NPC to start the heist.

  2. Preparation Mission:

    • Steal a boat with your team (or alone).
    • Navigate to the boat’s position and fight off some bikers.
    • Once you have the Dinghy, deliver it to the delivery point.
  3. After completing the preparation mission, you can start the main heist.

  4. Main Heist:

    • Use the stolen boat to reach the aircraft carrier.
    • Be cautious: the carrier is heavily guarded by numerous soldiers!
    • Fight your way through the opposition.
    • Locate and hack the Raiju’s security system to unlock it.
    • Steal the Raiju aircraft.
  5. Escape and Reward:

    • Fly the stolen Raiju to the designated sell point.
    • Complete the sale to receive your monetary reward.

Remember, teamwork and strategy are key to successfully completing this challenging heist!

What are the features?

  • Framework Compatibility
    ○ Compatible with ESX, QBCore, and QBox frameworks
    ○ Utilizes ox_lib and ox_target as dependencies

  • Heist Mechanics
    ○ Players can rob the Military Carrier solo or with up to 4 players
    ○ Consists of a preparation mission and the main heist
    ○ Includes a hacking minigame for added challenge

  • Mission Structure
    ○ Preparation mission must be completed before the main heist
    ○ Heist can only be launched after a specific time (e.g., 9 PM) (configurable)
    ○ Cooldown system prevents continuous robberies

  • Police Interaction
    ○ Requires a configurable minimum number of police officers online to start the heist (configurable)

  • Customization
    ○ Configurable enemy difficulty (easy, medium, hard)
    ○ Adjustable enemy models, weapons, and quantity
    ○ Random or fixed positions for mission start and sell points (configurable)

  • Reward System
    ○ Players can sell the stolen plane (Raiju) for a reward
    ○ Reward amount (configurable)

  • Optimization
    ○ Efficient resource usage for minimal server impact

  • Localization
    ○ Supports multiple languages

My others scripts

Configuration

NS = {}
Locales = {} -- Do not touch this

-- Main Configuration for Carrier Heist
NS.CarrierHeist = {
    -- General Settings
    lang = "en", -- Language: "en" for English, "fr" for French, etc.
    framework = "ESX", -- Framework: ESX for es_extended, "QBCORE" for QbCore, "QBOX" for Qbox.
    debugMode = false, -- Enable or disable debug mode for detailed messages
    startHour = 22, -- In-game hour to start the heist (24-hour format, e.g., 21 = 9 PM)
    cooldownWait = 60, -- in minutes

    -- Heist Timing Settings
    inviteTime = 10, -- Time in seconds for invite acceptance
    timeAfterVehicleDelete = 10, -- Time in minutes before the vehicle is deleted after a successful mission

    -- Interaction Settings
    enableOxTarget = true, -- Use ox_target for menu navigation; otherwise, players need to press E

    -- Plane Settings
    plane = {
        model = "raiju", -- Plane model used in the heist (changing is not recommended)
        spawnPosition = vector4(3069.705566, -4612.984375, 15.749512, 82.204727), -- Spawn position for the plane
        cameraPosition = vector4(3058.694580, -4630.641602, 25.438110, 331.653534), -- Camera position when the plane spawns
        cameraDuration = 5, -- Duration in seconds for the camera view
        livery = 8 -- Livery setting for the plane (e.g., 8 = USA livery)
    },

    carrier = {
        sphereArea = vector3(3062.87, -4714.89, 15.0),
        radius = 269.0
    },

    -- Dinghy settings (going to be used to go to the carrier)
    dinghy = {
        position = vector4(1469.380249, -2820.606689, 0.685669, 195.590546)
    },

    -- Hacking Settings
    hacking = {
        startPosition = vector3(3084.76, -4686.72, 27.24), -- Player start position for hacking
        progressBarTime = 10000, -- (10 seconds) in ms how much time does the progresbar going to be active
        computerPosition = vector3(3084.580322, -4686.645996, 27.240967), -- Position of the computer for hacking
        animationPosition = vector3(0.0, -0.7, 0.3), -- Position adjustment for hacking animation
        animationRotation = vector3(0.0, 0.0, 0.0), -- Rotation adjustment for hacking animation
        marker = { -- Marker settings displayed above the computer
            type = 0, -- Type of marker
            color = { r = 255, g = 0, b = 0, a = 200 }, -- RGB color and transparency of the marker
            scale = vector3(0.5, 0.5, 0.5), -- Scale of the marker
            offset = 1.0 -- Offset above the computer
        }
    },

    -- Reward Settings
    rewards = {
        moneyRange = {2000, 10000}, -- Range for money reward divided among players
        moneyType = "money" -- Type of money reward: "money", "bank", or "black_money"
    },

    -- Police Settings
    police = {
        requiredJobs = {"police", "sheriff"}, -- Jobs considered as police
        alertOnStart = true, -- Alert police when the heist starts (not yet implemented)
        requiredCount = 0 -- Number of police required to start the heist
    },

    -- NPC Settings
    npcs = {
        -- NPC that starts the preparation mission and the heist
        missionStarter = {
            spawnPositions = {
                vector4(856.48, -2488.021, 28.42, 263.622) -- Random positions for mission starter NPC
            },
            models = {"S_M_M_ChemSec_01"} -- Models for mission starter NPC
        },
        -- NPC for selling
        seller = {
            spawnPositions = {
                vector4(1741.358, 3315.03, 41.209, 96.377) -- Random positions for the seller NPC
            },
            models = {"S_M_M_ChemSec_01"} -- Models for seller NPC
        }
    },

    -- Enemy NPC Settings for the Carrier Heist
    enemies = {
        landing = { -- Settings for enemies on the landing strip
            spawnPosition = vec3(3075, -4726, 15.0),
            spawnRadius = 219.0,
            models = {"csb_ramp_marine", "s_m_m_marine_01", "s_m_y_marine_01", "s_m_y_marine_03"}, -- Marine models
            weapon = "WEAPON_CARBINERIFLE", -- Weapon used by enemies
            count = 20, -- Number of enemies (spawned outside the carrier)
            difficulty = "easy" -- Difficulty level: "easy", "medium", "hard"
        },
        interior = { -- Settings for enemies inside the carrier
            spawnPosition = vec3(3075, -4750, 6.0),
            spawnRadius = 68.0,
            models = {"csb_ramp_marine", "s_m_m_marine_01", "s_m_y_marine_01", "s_m_y_marine_03"}, -- Marine models
            weapon = "WEAPON_CARBINERIFLE", -- Weapon used by enemies
            count = 20, -- Number of enemies (spawned inside and outside the carrier)
            difficulty = "easy" -- Difficulty level: "easy", "medium", "hard"
        }
    },


    -- Preparation Mission Settings
    preparation = {
        dinghyTheft = {
            enemies = {
                spawnPosition = vector3(721.0, 4177.0, 41.0), -- Enemy NPC spawn location
                spawnRadius = 108.0,
                models = {"g_m_y_lost_01", "g_m_y_lost_02", "g_m_y_lost_03"}, -- NPC models
                weapon = "WEAPON_CARBINERIFLE",
                count = 15, -- Number of enemy NPCs
                difficulty = "easy" -- Difficulty level: "easy", "medium", "hard"
            },
            dinghy = {
                spawnPosition = vector4(708.817566, 4107.737402, 30.156006, 0.0) -- Dinghy spawn position
            },
            deliveryPoint = vector3(527.68, -3189.30, 0.18), -- Point where the player must deliver the dinghy
            animationDeliveryPoint = {
                -- Don't touch this !!
                dinghyPosition = vector4(528.672, -3197.221924, -0.021973, 187.086609), -- position where the Dinghy will be created for the end "animation"
                npcDrive = vector3(532.470337, -3458.162598, 0.129639), -- Where does the ped going to drive
                cameraPosition = vector3(527.169250, -3157.489990, 5.066650), -- position of the camera
                playerSpawn = vector3(506.12, -3151.00, 6.06) -- Where the player going to spawn after the camera animation
            }
        }
    }
}
Code is accessible No
Subscription-based No
Lines (approximately) +1000
Requirements OneSync Infinity, OX Lib, Ox Target, Game build 3258 (not obligatory but recommended for better experience)
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily