Bank Robbery System V1

Demo Video

Purchase Here:

Setup Instructions

  1. Insert the file into Roblox Studio.

Unsure on how to insert files? Check our FAQs.

  1. Drag the files into the correct location. If you already have a folder called Architech in ReplicatedStorage/ServerScriptService/StarterGui, then open the Architech folder and drag the Bank Robbery System folder into the respective location.

  1. Go to Workspace/Bank Robbery System/Sensors/Exit and move it to your exit. Do this for every EXIT you have. Ensure you have resized it to fit your exit. You can change the transparency to 1 after doing this however it is not needed as there is a script to do that for you called Invis.

  1. Find TeleportDestination and move it to the place you want Law Enforcement to teleport to teleport to if they walk into the robbery.

  1. Put the Teleport block in your robbery area. When a player touches this block, we check if the robbery is closed or if they are on a blacklisted team like Police. It is essential you place multiple of these to give it the highest chance of detecting players.

You can arrange them in a layout similar to the picture for a guaranteed detection. It works better when it's thin!

Configuration Instructions

Expand the Main script in ServerScriptService and expand the Configuration icon. You will see a list of values you can change. Some of them are explained here:

Split Mode

Split Mode decides whether or not the code will be split up on 4 pieces of paper or just on 1 piece of paper. If split mode is TRUE, please ensure you have at least 4 parts called Note in the Codes folder.

Codes Folder

This is if you want to move the Codes folder anywhere else. This is an ItemValue object.

Cooldown

Cooldown is in SECONDS and decides how long it takes until the bank can be robbed again. For example, Player A has finished robbing it and the bank closes. The whole server now needs to wait for the COOLDOWN time in seconds before the bank is reopend. This takes an INTEGER value.

StayAlive/StayAliveDuration

StayAlive makes the player have to stay alive for a certain amount of time (Decided in StayAliveDuration in seconds) before they get the money.

Player has to leave the bank before getting money
StayAlive = true
StayAliveDuration = 0
Player has to leave the bank and stay alive for 5 minutes before getting money
StayAlive = true
StayAliveDuration = 300
Player gets the money the moment they steal it
StayAlive = false
StayAliveDuration = 0

LuaU Developer Setup

Making a "Bank is ready to rob" notification

We have a BindableEvent called "ReadyToRob" which gets fired every time the bank is ready to rob. An example script of how to use this is provided below.

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local eventsFolder = ReplicatedStorage:FindFirstChild("Architech"):FindFirstChild("Bank Robbery System V1")
local event = eventsFolder:FindFirstChild("ReadyToRob")

event.Event:Connect(function(state)
	if state then -- Bank is OPEN
		print("Bank is open")
		-- Add your logic here
	else -- Bank is CLOSED
		print("Bank is closed")
		-- Add your logic here
	end
end)

Alarm Activation notification

We have a BindableEvent called "Alarm" which gets fired every time the alarm is activated/deactivated. An example script of how to use this is provided below.

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local eventsFolder = ReplicatedStorage:FindFirstChild("Architech"):FindFirstChild("Bank Robbery System V1")
local event = eventsFolder:FindFirstChild("Alarm")

event.Event:Connect(function(state)
	if state then -- ALARM HAS BEEN ACTIVATED
		print("Alarm has been activated")
		-- Add your logic here
	else -- ALARM HAS BEEN DEACTIVATED
		print("Alarm has been deactivated")
		-- Add your logic here
	end
end)

Still need help? Check out FAQs.

Architech's Customer Service Team will respond to you within 24 hours. To contact our Customer Service Team, join our Discord and go to #┃contact-us.

Last updated