Configuration
Configuration of SCode ATM Robbery
All settings are in config.lua.
Config = {
Debug = false, -- Debug messages
RequiredCops = 0, -- Required number of police officers
InteractionDistance = 1.5, -- Interaction distance with ATM
USBItem = 'trojan_usb', -- USB item name
DrillItem = 'drill', -- Drill item name
DrillReward = 5000, -- Money earned if minigame is successful
Cooldown = 60, -- Player cooldown time in minutes (per player)
DrillCooldown = 60, -- ATM drill cooldown time in minutes (per ATM)
ATMModels = { -- Supported ATM models
'prop_atm_01',
'prop_atm_02',
'prop_atm_03',
'prop_fleeca_atm'
},
CashProps = { -- Cash drop settings
count = 1,
model = 'ex_cash_pile_02', -- Cash prop model
value = 750 -- Money per prop
},
ExplosionSettings = { -- USB settings
delay = 3 -- Countdown time (seconds)
},
ProgressTimes = { -- Progress bar durations
plant = 5000, -- USB planting duration (ms)
collect = 1500, -- Cash collection duration (ms)
drill_setup = 3000, -- Drill setup duration (ms)
DrillProgressTime = 10000 -- 10 seconds (ms)
}
}Option | Description |
|---|---|
| On-duty police needed to start the USB robbery. |
| How close the player must be to an ATM. |
| Item names for the two stages. |
| Cash given after a successful drill. |
| Minutes before the same player can rob another ATM. |
| Minutes before the same ATM can be drilled again. |
| ATM props that can be robbed. |
| How many cash piles drop, their model and how much each is worth. |
| Seconds between the hack and the explosion. |
| Durations of the progress bars in milliseconds. |
Cash from the piles and the drill reward is given as cash.
Messages
All notifications can be changed in Config.Messages:
Messages = {
no_cops = 'Not enough police! (Min: %d)',
no_usb = 'No USB found!',
no_drill = 'No drill found!',
no_atm = 'No ATM nearby!',
cooldown = 'You must wait %d minutes before robbing another ATM!',
drill_cooldown = 'This ATM is currently being drilled! (%d minutes left)',
planting = 'Placing USB...',
countdown = 'Explosion will occur in: %d seconds',
collect_cash = 'Collect Money ($%d)',
cash_collected = 'Money collected: $%d',
success = 'Robbery successful!',
failed = 'Robbery failed!',
temp_too_high = 'Drill overheated!',
drill_too_far = 'You are not close enough to the exploded ATM!'
},Keep the %d placeholders, they are replaced with numbers.
Last updated: December 6, 2026