
Keyless

local function run()
for _, obj in ipairs(game:GetDescendants()) do
if obj:IsA("StringValue") and obj.Name == "LockCode" then
local bp = obj.Parent and obj.Parent:FindFirstChild("BP")
if bp then
local unlock = bp:FindFirstChild("Lock") and bp.Lock:FindFirstChild("Unlock")
if unlock and unlock:IsA("BindableFunction") then
unlock:Invoke(obj.Value)
end
end
end
if obj.Name == "SetMode" and obj:IsA("BindableFunction") then
if obj.Parent and obj.Parent.Name == "Flat" then
obj:Invoke("Free")
end
end
end
end
run()No comments yet for this script.