Text 5 1 1
Text 5 1 1
getgenv().Silent = {
Setting = {
IsTargetting = true,
Prediction = 0.157,
TargetPart = "HumanoidRootPart",
WallCheck = true,
FOV = {
Radius = 50,
Visible = true
}
}
}
return FOV
end
if
(FOV.Radius > Distance and Distance < Closest and OnScreen and
WallCheck(v.Character.HumanoidRootPart.Position, {Client,
v.Character}))
then
Closest = Distance
Target = v
end
end
end
return Target
end
local Old
Old =
hookmetamethod(
game,
"__index",
function(self, key)
if self:IsA("Mouse") and key == "Hit" then
Targetting = getClosestChar()
if Targetting ~= nil then
return
Targetting.Character[getgenv().Silent.Setting.TargetPart].CFrame +
(Targetting.Character[getgenv().Silent.Setting.TargetPart].Velocity *
getgenv().Silent.Setting.Prediction)
end
end
return Old(self, key)
end
)