
Keyless

-- Made by Unknowey
-- Instant door opener (Use fake keycard)
-- dont open many doors too fast or it wouldnt work wait 1-3 secs before opening other doors
local plr = game.Players.LocalPlayer
local busy = false
local function getClosestDoor()
local doors = workspace:WaitForChild("Doors")
local closest, dist = nil, math.huge
for _, v in pairs(doors:GetChildren()) do
if v:FindFirstChild("Interact") then
local d = plr:DistanceFromCharacter(v.Interact.Position)
if d < dist then
dist = d
closest = v
end
end
end
return closest
end
local function hardReset()
local char = plr.Character
local ui = plr.PlayerGui:FindFirstChild("LockpickUI")
if ui then
ui:Destroy()
end
if char and char:FindFirstChild("HumanoidRootPart") then
char.HumanoidRootPart.Anchored = false
end
if char and char:FindFirstChildOfClass("Tool") then
char:FindFirstChildOfClass("Humanoid"):UnequipTools()
end
end
task.spawn(function()
while task.wait() do
if busy then continue end
local ui = plr.PlayerGui:FindFirstChild("LockpickUI")
if not ui then continue end -- tunggu minigame muncul
busy = true
local door = getClosestDoor()
if door then
game.ReplicatedStorage.Doors.OpenDoor:FireServer(door)
end
hardReset()
task.wait(0.3)
busy = false
end
end)
@jazzykinetic133 what
not wokring buddy
@muhbintang works perfectly fine for me
execute and try doing the minigame