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

opensource/client/client.lua

This file handles zone creation, drawtext, evidence, stress, and the minigame callback. To change minigames per step, edit the projectx-paletobankrobbery-default:client:Minigames callback.
Return true inside any step block to skip that minigame entirely (useful for testing).
The default minigames per step are:

opensource/server/server.lua

This file handles dispatch, item/money helpers, logging, and hooks you can extend.

Hooks

Called when a player completes a robbery step. Use for XP, logging, or custom rewards.
Called when a player fails a step. Use for penalties or item removal.
Return false to block the robbery from starting (group checks, tablet gates, etc.).
Called when the heist resets. Use for scoreboards or external events.
Step names match keys in Config.PaletoSteps inside config/config.lua.