Open Source Script: If you have any questions, DM, @, or even ask AI to break down the script if you do want to improve it!
Facility Door Controls v6.0
Be an SCP or Guard
Reviewed by QueueSpeedDemonPaid revieweron How review works
Facility Door Controls v6.0 is a Be an SCP or Guard script for Roblox, uploaded to ScriptBlox on Oct 3, 2026. Reviewed by a person on Oct 8, 2026.
Does it work?
Early reports100% say it works · 1 report in the last 2 weeks
Description
This Script can... - Force Close All Doors: Attempts to close every detected door and gate using its current position or state. - Force Open All Doors: Attempts to open every detected door and gate. - Auto-Lock Loop: Repeatedly closes doors that open and calls stopped lifts back to the top floor. - Auto Sprinklers: Turns sprinklers on once. If someone turns them off afterward, it leaves them off until you restart the toggle. - 096 / 106 Gate Inversion: Reverses how the script interprets each chamber gate’s open/closed state if its controls behave backward. So if the script keeps repeately opening the 096v or 106 chambers just click this button on the chamber tahts acting up to change teh driection of where this closes. Thsi happens because the script reads it as "I dont know whats close or open so I will use the location of where its at now as close" so if its open in a public server already, the script will read the chamber as close even if its open. Thats why theres an inversion button for the script. - Spam Gameplay Buttons: Clicks eligible controls independently, choosing a new random 0.25–4 second interval before each click. Includes doors, gates, lift controls, and newly added ClickDetectors. - Spam Exclusions: Skips controls identified as morphs, gamepasses, purchases, clothing, cosmetics, team selectors, or spawns. Identification uses etector and ancestor names, so unusually named controls may need extra exclusions. - Print & Copy Door States: Prints a diagnostic report to the F9 console and attempts to copy it to your clipboard. Includes door states, lift positions, and sprinkler details. (THIS IS MAINLY FOR WHEN I WAS CREATING THE SCRIPT. ALTHOUGH YOU CAN USE IT TO IMPROVE THE SCRIPT FOR YOUR OWN) Panel controls - Drag the title bar: Moves the panel. - Drag the bottom-right corner: Resizes the panel. - Minimize (−): Collapses the panel while active features keep running. - X or P: Closes the GUI and stops all loops and pending tasks started by this script. - Automatic cleanup: Also stops the script’s tasks if the GUI is removed, destroyed, hidden, or disabled. Running a new copy shuts down the previous copy first. (might be broken) Door detection depends on the map’s structure. Single-part doors and chamber gates are assumed to be closed when the script first runs. NOTE: I was banned from the game but have no idea if it was the script, me flying, or another script I was using which is unrelated. so in any case test the script on an alt account and send in a review to help others :D btw open source. pls improve exploits :p USE SCRIPT AT YOUR OWN RISK. RECOMMENDED USE ALT TO TEST BEFORE PLAY!!! USE SCRIPT AT YOUR OWN RISK. RECOMMENDED USE ALT TO TEST BEFORE PLAY!!! USE SCRIPT AT YOUR OWN RISK. RECOMMENDED USE ALT TO TEST BEFORE PLAY!!! USE SCRIPT AT YOUR OWN RISK. RECOMMENDED USE ALT TO TEST BEFORE PLAY!!! USE SCRIPT AT YOUR OWN RISK. RECOMMENDED USE ALT TO TEST BEFORE PLAY!!! USE SCRIPT AT YOUR OWN RISK. RECOMMENDED USE ALT TO TEST BEFORE PLAY!!!
Notes
1-- Remove any previous copy of this script (and stop its loops)
local env = (getgenv and getgenv()) or _G
if env.FacilityControlStop then pcall(env.FacilityControlStop) end
for _, g in ipairs(game:GetService("CoreGui"):GetChildren()) do
if g.Name == "FacilityControlV5" or g.Name == "FacilityControl" then g:Destroy() end
end
local UserInputService = game:GetService("UserInputService")
-- Create ScreenGui inside CoreGui to persist across respawns
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FacilityControl"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.Parent = game:GetService("CoreGui")
-- GUI settings
local VERSION = "v6.0"
local TITLE_H = 36 -- Height of the title bar (also the height when minimized)
local MIN_W, MAX_W = 230, 520 -- Resize limits (width)
local MIN_H, MAX_H = 180, 700 -- Resize limits (height)
-- State variables
local running = true -- set to false when a newer copy of the script replaces this one
local autoCloseActive = false
local autoSprinklersActive = false
local spamActive = false
local connections = {} -- Event connections to clean up when replaced
local originalPositions = {} -- Closed-position baseline for single-part doors and chamber gates
local lastFired = {} -- Tracks when each door was last clicked (for auto-lock cooldown)
local AUTO_LOCK_COOLDOWN = 2.5 -- Seconds to wait after clicking a door before checking it again
local SPRINKLER_COOLDOWN = 3 -- Seconds to wait after clicking the sprinkler lever
local SPRINKLER_RESUME_AFTER = math.huge -- Seconds before auto sprinklers re-enable after someone turns them off (math.huge = never)
local SPAM_MIN_INTERVAL = 0.25 -- Shortest delay per detector
local SPAM_MAX_INTERVAL = 4 -- Longest delay; randomized after every click
local spamGeneration = 0 -- Invalidates workers on OFF/ON
local spamWorkers = {}
local spamRandom = Random.new()
local LIFT_COOLDOWN = 12 -- Seconds to wait after calling a lift up before checking it again
local CLOSED_TOLERANCE = 0.75 -- Studs of slack when deciding if two door panels are touching
![Be an SCP or Guard [SCP-682]](/images/script/121461214257813-1772565048130.jpg)
![Be an SCP or Guard [SCP-682]](/images/script/121461214257813-1790511847073.jpg)
![Be an SCP or Guard [SCP-682]](/images/script/121461214257813-1772409065050.webp)
what spam not you @ContainsCats
@ELIMIQUEIAS Spam should be a toggle that just messes around with all the doors around the facility. It should be randomized between 0.1- 0.4-ish, I think, and just mess around with every click detector in the game.
@ContainsCats work why ?
@ELIMIQUEIAS what do you mean "work why"
@ContainsCats you door role video
works good thanks!