task.spawn(function()
while task.wait() do
local plr = game.Players.LocalPlayer
local gui = plr.PlayerGui:FindFirstChild("LockpickUI")
if gui then
local frame = gui:FindFirstChild("Frame")
if frame then
local doorKey = frame:FindFirstChild("DoorKey")
local inputKey = frame:FindFirstChild("InputKey")
if doorKey and inputKey then
local code = doorKey.Text
local tool = plr.Character and plr.Character:FindFirstChildOfClass("Tool")
if tool then
for i = 1, #code do
local target = string.sub(code, i, i)
repeat
task.wait()
until string.sub(inputKey.Text, i, i) == target
tool:Activate()
task.wait(0.05)
end
end
end
end
end
end
end)auto keycard / lockpick script for Stateview Prison
reads the code from ui and times the clicks for you so it looks clean and legit, no spammy stuff
just hold the tool and it does the work, easy keycards without failing over and over
No comments yet. Be the first to comment!
1task.spawn(function()
2 while task.wait() do
3 local plr = game.Players.LocalPlayer
4 local gui = plr.PlayerGui:FindFirstChild("LockpickUI")
5
6 if gui then
7 local frame = gui:FindFirstChild("Frame")
8 if frame then
9 local doorKey = frame:FindFirstChild("DoorKey")
10 local inputKey = frame:FindFirstChild("InputKey")
11
12 if doorKey and inputKey then
13 local code = doorKey.Text
14 local tool = plr.Character and plr.Character:FindFirstChildOfClass("Tool")
15
16 if tool then
17 for i = 1, #code do
18 local target = string.sub(code, i, i)
19 repeat
20 task.wait()
21 until string.sub(inputKey.Text, i, i) == target
22 tool:Activate()
23 task.wait(0.05)
24 end
25 end
26 end
27 end
28 end
29 end
30end)