The Border (Beta) Loop opening and closing the doors in the border

MADE BY monkeE#7642

FEATURE:

  • LOOP OPENING AND CLOSING THE BORDER DOOR
  • .
  • NOTE:
  • 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
  • .
  • https://www.roblox.com/games/1927139201/Day-of-Dusk-The-Border-Beta

SCRIPT:

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

⚠️ Warning: Do not download any extensions or anything other than .txt/.lua file, because script will download only in .txt/.lua format or It will redirect you to a pastebin link.

📋 Notice: If you find any of the scripts patched or not working, please report it to Forever4D through Discord. The script will be removed or marked as patched!