
Key Required

if not getgenv().luav then loadstring(game:HttpGet("https://raw.githubusercontent.com/fgdergewrgegr/all/refs/heads/main/LuaV"))()
getgenv().ver = (getgenv().ver and getgenv().ver+1) or 1
local sg = getgenv().ver
local function get_nearest()
local min, fhrp = 999999
local mhrp = ghrp()
for _,plr in plrs() do
if plr[1] ~= me[1] and plr.Character then
local hrp = plr.Character:ffc("HumanoidRootPart")
if hrp then
local mag = (hrp.Position - mhrp.Position).Magnitude
if mag < min then
min = mag
fhrp = hrp
end
end
end
end; return fhrp, mhrp
end
local WorldToScreen = function(Object)
local ObjectVector = gcam()[1]:WorldToScreenPoint(Object.Position)
return Vector2.new(ObjectVector.X, ObjectVector.Y)
end
local function GetClosestPlayerFromCursor()
local found = nil
local ClosestDistance = math.huge
for i, v in pairs(p[1]:GetPlayers()) do
if v ~= me[1] and v.Character and v.Character:FindFirstChildOfClass("Humanoid") then
for k, x in pairs(v.Character:GetChildren()) do
if string.find(x.Name, "Torso") then
local Distance = (WorldToScreen(x) - Vector2.new(m.X, m.Y)).Magnitude
if Distance < ClosestDistance then
ClosestDistance = Distance
found = v
end
end
end
end
end
return LuaV(found.Character.HumanoidRootPart)
end
uis.InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.Q and sg == getgenv().ver then
local ehrp, mhrp, t = GetClosestPlayerFromCursor(), ghrp(), true
if ehrp and mhrp then
local save, save1 = mhrp.CFrame, gcam().CFrame
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude
params.FilterDescendantsInstances = {me.Character}
local spos, count, rc = mhrp.Position, 0
while not(rc) or rc.Instance.Parent ~= ehrp.Parent[1] do
count = count + 1
spos = spos+mhrp.CFrame.RightVector
rc = w[1]:Raycast(spos, CFrame.new(spos, ehrp.Position).LookVector*999)
if count > 15 then break end
end; if count < 15 then
local cframe = CFrame.new(spos, ehrp.Position)
gcam().CFrame, ghrp().CFrame = cframe, cframe
qw(0.07); click(); qw(0.07); t = false
ghrp().CFrame, gcam().CFrame = save, save1
end
-- local vec = mhrp.CFrame.RightVector
-- ghrp().CFrame = mhrp.CFrame+(Vector3.new(math.round(vec.x), math.round(vec.y), math.round(vec.z)))*(ehrp.Position - mhrp.Position)
-- ghrp().CFrame = mhrp.CFrame+vec
end; if t then
local ehrp, mhrp = GetClosestPlayerFromCursor(), ghrp()
if ehrp and mhrp then
local save, save1 = mhrp.CFrame, gcam().CFrame
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude
params.FilterDescendantsInstances = {me.Character}
local spos, count, rc = mhrp.Position, 0
while not(rc) or rc.Instance.Parent ~= ehrp.Parent[1] do
count = count + 1
spos = spos+mhrp.CFrame.RightVector * -1
rc = w[1]:Raycast(spos, CFrame.new(spos, ehrp.Position).LookVector*999)
if count > 15 then break end
end; if count < 15 then
local cframe = CFrame.new(spos, ehrp.Position)
gcam().CFrame, ghrp().CFrame = cframe, cframe
qw(0.07); click(); qw(0.07)
ghrp().CFrame, gcam().CFrame = save, save1
end
-- local vec = mhrp.CFrame.RightVector
-- ghrp().CFrame = mhrp.CFrame+(Vector3.new(math.round(vec.x), math.round(vec.y), math.round(vec.z)))*(ehrp.Position - mhrp.Position)
-- ghrp().CFrame = mhrp.CFrame+vec
end
end
end
end)
uis.InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.H and sg == getgenv().ver then
print(ghrp().CFrame.LookVector)
end
end)



It didn’t work