FiveM Guide

How to Add a Bank Heist Script to Your FiveM QBCore Server

August 2026 · 5 min read · Stellar AI

Bank robberies are one of the most exciting events on any FiveM roleplay server. This guide walks you through setting up a complete bank heist script on QBCore — hacking minigame, vault timer, police alerts and cash reward.

What a bank heist script includes

A good FiveM bank heist typically has players approaching a bank, starting a hack or drill at the vault door, waiting through a timer while police are alerted, then collecting cash from the vault. Many servers add a cooldown between robberies to balance the economy.

Step 1 — Generate your heist script

💡 Try this prompt in Stellar AI:

"Make a QBCore Fleeca bank heist script. Player walks up and presses E to start hacking, 30 second hack timer, vault opens and gives £5000-£15000 cash randomly, police get alerted with the bank location, 10 minute cooldown before it can be robbed again. Include fxmanifest, client.lua, server.lua and config.lua"

Step 2 — Upload to your server

resources/ └── qb-bankrobbery/ ├── fxmanifest.lua ├── client.lua ├── server.lua └── config.lua

Step 3 — Configure the locations

Open config.lua and set the bank coordinates. The Fleeca bank on Legion Square is at approximately vector3(149.27, -1042.25, 29.37). You can add multiple bank locations for variety.

Config.Banks = { {coords = vector3(149.27, -1042.25, 29.37), label = 'Fleeca Bank'}, {coords = vector3(314.12, -279.33, 54.17), label = 'Maze Bank'}, }

Step 4 — Add to server.cfg and test

ensure qb-core ensure qb-bankrobbery

Restart your server, walk to the bank location and press E near the vault door. The hack should start and police should receive an alert on their side.

Generate your bank heist in seconds

Describe your perfect heist and Stellar AI writes all the files — hack minigame, vault timer, police alerts, cash reward — ready to drop in.

Generate my heist script →