
Key Required Verified Patched

getgenv().Key = Enum.KeyCode.Q
getgenv().Prediction = 0.129
getgenv().AirshotFunccc = false
getgenv().Tracer = true
getgenv().Partz = "HumanoidRootPart" -- LowerTorso, HumanoidRootPart,Head,UpperTorso
local Locking = false
local Tracer = Drawing.new("Circle")
Tracer.Visible = true
Tracer.Radius = 7
Tracer.Filled = true
Tracer.Color = Color3.fromRGB(255, 0, 212)
Tracer.Thickness = 1
Tracer.Transparency = 1
function x(tt,tx,cc)
game.StarterGui:SetCore("SendNotification", {
Title = tt;
Text = tx;
Duration = cc;
})
end
x("Yun", "Loaded", 3)
if getgenv().flashyes == true then
x("Yun", "Already Loaded", 5)
return
end
getgenv().flashyes = true
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(keygo,ok)
if (not ok) then
if (keygo.KeyCode == getgenv().Key) then
Locking = not Locking
if Locking then
Plr = getClosestPlayerToCursor()
x("Yun", ""..Plr.Character.Humanoid.DisplayName, 3)
elseif not Locking then
if Plr then Plr = nil
x("Yun", "Unlocked", 3)
end
end
end
end
end)
function getClosestPlayerToCursor()
local closestPlayer
local shortestDistance = 137
for i, v in pairs(game.Players:GetPlayers()) do
if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("LowerTorso") then
local pos = game:GetService"Workspace".CurrentCamera:WorldToViewportPoint(v.Character.PrimaryPart.Position)
local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(game.Players.LocalPlayer:GetMouse().X, game.Players.LocalPlayer:GetMouse().Y)).magnitude
if magnitude < shortestDistance then
closestPlayer = v
shortestDistance = magnitude
end
end
end
return closestPlayer
end
local rawmetatable = getrawmetatable(game)
local old = rawmetatable.__namecall
setreadonly(rawmetatable, false)
rawmetatable.__namecall = newcclosure(function(...)
local args = {...}
if Plr ~= nil and getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" then
args[3] = Plr.Character[getgenv().Partz].Position+(Plr.Character[getgenv().Partz].Velocity*Prediction)
return old(unpack(args))
end
return old(...)
end)
game:GetService("RunService").RenderStepped:connect(function()
if getgenv().AirshotFunccc == true then
if Plr ~= nil and Plr.Character.Humanoid.FloorMaterial == Enum.Material.Air then
getgenv().Partz = "RightFoot"
else
getgenv().Partz = "LowerTorso"
end
end
if getgenv().Tracer == true and Locking then
local Vector, OnScreen = game:GetService"Workspace".CurrentCamera:worldToViewportPoint(Plr.Character[getgenv().Partz].Position+(Plr.Character[getgenv().Partz].Velocity*Prediction))
Tracer.Visible = true
Tracer.Position = Vector2.new(Vector.X, Vector.Y)
else
Tracer.Visible = false
end
end)



good lock