11.7k Views
53 Executions
Loop opening and closing doors in
The Border
WalmartPublished 10
4 years ago
Please login to perform these actions:Loop opening and closing doors in is a The Border script for Roblox, uploaded to ScriptBlox on Aug 18, 2022.
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
*Requires a keycard to be equipped for the open function to work can be bought in the in-game store, you also get one for free if you are in the military group Creates a lot of noise + confusion for the military team
getgenv().openclose = true --change to false to stop the script
local player = game:GetService("Players").LocalPlayer
local doors = game:GetService("Workspace").Doors
function open(door)
--find the cards that player has equiped
local part
if player.Character:FindFirstChild("Cracked Keycard") then part = player.Character:FindFirstChild("Cracked Keycard")
elseif player.Character:FindFirstChild("Academy Level 1 Clearance") then part = player.Character:FindFirstChild("Academy Level 1 Clearance")
elseif player.Character:FindFirstChild("Level 1 Clearance") then part = player.Character:FindFirstChild("Level 1 Clearance")
elseif player.Character:FindFirstChild("Level 2 Clearance") then part = player.Character:FindFirstChild("Level 2 Clearance")
--add more cards here if you find any
else return --no cards found
end
firetouchinterest(part.ID, door.Hitbox, 0)
wait()
firetouchinterest(part.ID, door.Hitbox, 1)
end
function close(door)
fireclickdetector(door.Hitbox.ClickDetector)
wait()
end
while getgenv().openclose do
for _, folder in pairs(doors:GetChildren()) do
for i, v in pairs(folder:GetChildren()) do
if v.Name == "DoorTall" or v.Name == "DoorWide" then
if v:FindFirstChild("Hitbox") then
open(v)
wait()
close(v)
end
end
end
end
end
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!![[Day of Dusk] The Border (Beta)](/images/script/1927139201-1771172846845.webp)
![[Day of Dusk] The Border (Beta)](/images/script/1927139201-1771010969680.webp)
![Driving Empire [RP SERVERS✨]](/images/script/3351674303-1779471488349.webp)
