Skip to main content
Most of the core logic in this resource is handled by the bridge and escrow. The open source files are provided so you can customize minigames, add hooks for custom systems, and extend the script without touching escrow.

opensource/client/client.lua

This file handles notifications, zones, evidence, stress, interaction targets, and the minigame callback. If you want to change the minigames used for each step, this is the file to edit.

Minigame Callback

Each approach or ATM breakdown step triggers the projectx-atmrobbery:client:Minigames callback with the step name. You can swap any minigame by replacing the export call inside the matching elseif block.
You can return true unconditionally inside any step block to skip that minigame entirely. This is useful for testing or for steps you want to make automatic.
The default minigames per step are:

Client Hook

Called on the client after successfully pulling an ATM from the wall (rope approach). Use this for local effects or client-side XP/UI.

opensource/server/server.lua

This file handles dispatch, items, money, logging, police checks, and exposes hooks you can use to run custom logic at specific points.

Hooks

Called after the ATM is looted and the approach is finished.
Called when a player successfully completes a placed-ATM breakdown step (AtmStep1AtmStep4). By default this awards Rope approach XP when SkillSystem is enabled.
Called whenever a player fails a breakdown step.
Called when a player successfully completes an approach (e.g. Drill, C4, Hacking).
Called whenever a player fails an approach.