getgenv().
DNS = {
Silent = {
Enabled = true,
Part = "HumanoidRootPart",
Pred = 0.119,
ClosestPart = true,
},
FOV = {
Visible = false,
Radius = 20
},
Tracer = {
Key = "C",
Enabled = false,
Pred = 0.01,
Part = "HumanoidRootPart",
Smoothness = 0.009
},
Misc = {
UnlockedOnDeath = true,
Shake = false,
ShakeValue = 0.58
},
}
local Library =
loadstring(game:HttpGet("[Link]
main/[Link]"))() -- Could Also Save It In Your Workspace And Do
loadfile("[Link]")()
local Window = Library:New({Name = "*_< | DNS CAMLOCK | PRIVATE", Size =
[Link](489, 570), Accent = [Link](25, 240, 100)})
--
local Aimbot = Window:Page({Name = "Aimbot"})
local Settings = Window:Page({Name = "Settings"})
--
local uwuAimbot = Aimbot:Section({Name = "Main", Side = "Left"})
local uwuMisc = Aimbot:Section({Name = "Misc", Side = "Right"})
local uwuSettings = Aimbot:Section({Name = "Settings", Side = "Left"})
--
local Settings_Main = Settings:Section({Name = "Main", Side = "Left"})
-- // Aimbot
uwuAimbot:Toggle({
Name = "Enabled",
Default = false,
Pointer = "AimbotMain_Enabled",
Callback = function(v)
print(v)
getgenv().[Link] = v
end
})
uwuAimbot:Toggle({
Name = "ShowFov",
Default = false,
Pointer = "AimbotMain_Enabled",
Callback = function(v)
print(v)
getgenv().[Link]["Visible"] = v
end
})
uwuMisc:Toggle({
Name = "Shake",
Default = false,
Pointer = "Shake_Enabled",
Callback = function(v)
print(v)
getgenv().[Link] = v
end
})
uwuMisc:Toggle({
Name = "UnlockOnDeath",
Default = false,
Pointer = "UnlockOnDeath_Enabled",
Callback = function(v)
print(v)
getgenv().[Link] = v
end
})
uwuSettings:Slider({Name = "Smoothness",
Minimum = 0.001,
Maximum = 1.5,
Default = 0.014,
Decimals = 0.001,
Pointer = "AimbotMain_Smoothness",
Callback = function(v)
getgenv().[Link] = v
end
})
uwuSettings:Slider({Name = "FOV Radius",
Minimum = 0.01,
Maximum = 100,
Default = 15.5,
Decimals = 0.01,
Pointer = "AimbotMain_Radius",
Callback = function(v)
getgenv().[Link]["Radius"] = v
end
})
uwuSettings:Slider({Name = "Shake Value",
Minimum = 0.5,
Maximum = 100,
Default = 0.58,
Decimals = 0.001,
Pointer = "AimbotMain_Booty",
Callback = function(v)
getgenv().[Link] = v
end
})
uwuSettings:Slider({Name = "Tracer Prediction",
Minimum = 0.001,
Maximum = 10,
Default = 0.1,
Decimals = 0.001,
Pointer = "AimbotMain_Booty",
Callback = function(v)
getgenv().[Link] = v
end
})
uwuSettings:Slider({Name = "Silent Prediction",
Minimum = 0.10,
Maximum = 0.195,
Default = 0.135,
Decimals = 0.001,
Pointer = "AimbotMain_Booty",
Callback = function(v)
getgenv().[Link] = v
end
})
Settings_Main:ConfigBox({})
Settings_Main:ButtonHolder({Buttons = {{"Load", function() end}, {"Save",
function() end}}})
Settings_Main:Label({Name = "Unloading will fully unload\neverything, so save your\
nconfig before unloading.", Middle = true})
Settings_Main:Button({Name = "Unload", Callback = function() Window:Unload() end})
-- // Initialisation
Window:Initialize()
--- the code shit
local Players, Client, Mouse, RS, Camera =
game:GetService("Players"),
game:GetService("Players").LocalPlayer,
game:GetService("Players").LocalPlayer:GetMouse(),
game:GetService("RunService"),
[Link]
local Circle = [Link]("Circle")
[Link] = [Link](1,1,1)
[Link] = 1
local UpdateFOV = function ()
if (not Circle) then
return Circle
end
[Link] = getgenv().[Link]["Visible"]
[Link] = getgenv().[Link]["Radius"] * 3
[Link] = [Link](Mouse.X, Mouse.Y +
(game:GetService("GuiService"):GetGuiInset().Y))
return Circle
end
[Link]:Connect(UpdateFOV)
ClosestPlrFromMouse = function()
local Target, Closest = nil, 1/0
for _ ,v in pairs(Players:GetPlayers()) do
if ([Link] and v ~= Client and
[Link]:FindFirstChild("HumanoidRootPart")) then
local Position, OnScreen =
Camera:WorldToScreenPoint([Link])
local Distance = ([Link](Position.X, Position.Y) -
[Link](Mouse.X, Mouse.Y)).Magnitude
if ([Link] > Distance and Distance < Closest and OnScreen) then
Closest = Distance
Target = v
end
end
end
return Target
end
local WTS = function (Object)
local ObjectVector = Camera:WorldToScreenPoint([Link])
return [Link](ObjectVector.X, ObjectVector.Y)
end
local IsOnScreen = function (Object)
local IsOnScreen = Camera:WorldToScreenPoint([Link])
return IsOnScreen
end
local FilterObjs = function (Object)
if [Link]([Link], "Gun") then
return
end
if [Link]({"Part", "MeshPart", "BasePart"}, [Link]) then
return true
end
end
local GetClosestBodyPart = function (character)
local ClosestDistance = 1/0
local BodyPart = nil
if (character and character:GetChildren()) then
for _, x in next, character:GetChildren() do
if FilterObjs(x) and IsOnScreen(x) then
local Distance = (WTS(x) - [Link](Mouse.X, Mouse.Y)).Magnitude
if ([Link] > Distance and Distance < ClosestDistance) then
ClosestDistance = Distance
BodyPart = x
end
end
end
end
return BodyPart
end
local Prey
[Link](function ()
while [Link]() do
if Prey then
if getgenv().[Link] and getgenv().[Link] ==
true then
getgenv().[Link]["Part"] =
tostring(GetClosestBodyPart([Link]))
end
end
end
end)
local grmt = getrawmetatable(game)
local backupindex = grmt.__index
setreadonly(grmt, false)
grmt.__index = newcclosure(function(self, v)
if (getgenv().[Link] and Mouse and tostring(v) == "Hit") then
Prey = ClosestPlrFromMouse()
if Prey then
local endpoint =
[Link][tostring(Prey)].Character[getgenv().[Link]["Part"]].CFrame + (
[Link][tostring(Prey)].Character[getgenv().[Link]["Part"]].Velocity *
getgenv().[Link]
)
return (tostring(v) == "Hit" and endpoint)
end
end
return backupindex(self, v)
end)
local CC = [Link]
local Mouse = [Link]:GetMouse()
local Plr
[Link]:Connect(function(Key)
local Keybind = getgenv().[Link]:lower()
if (Key == Keybind) then
if getgenv().[Link] == true then
IsTargetting = not IsTargetting
if IsTargetting then
Plr = GetClosest()
else
if Plr ~= nil then
Plr = nil
end
end
end
end
end)
function GetClosest()
local closestPlayer
local shortestDistance = [Link]
for i, v in pairs([Link]:GetPlayers()) do
pcall(function()
if v ~= [Link] and [Link] and
[Link]:FindFirstChild("Humanoid") then
local pos =
CC:WorldToViewportPoint([Link])
local magnitude =
([Link](pos.X, pos.Y) - [Link](Mouse.X,
Mouse.Y)).magnitude
if ([Link](pos.X, pos.Y) - [Link](Mouse.X,
Mouse.Y)).magnitude < shortestDistance then
closestPlayer = v
shortestDistance = magnitude
end
end
end)
end
return closestPlayer
end
local function IsOnScreen(Object)
local IsOnScreen =
[Link]:WorldToScreenPoint([Link])
return IsOnScreen
end
local function Filter(Object)
if [Link]([Link], "Gun") then
return
end
if Object:IsA("Part") or Object:IsA("MeshPart") then
return true
end
end
local function WTSPos(Position)
local ObjectVector = [Link]:WorldToScreenPoint(Position)
return [Link](ObjectVector.X, ObjectVector.Y)
end
local function WTS(Object)
local ObjectVector =
[Link]:WorldToScreenPoint([Link])
return [Link](ObjectVector.X, ObjectVector.Y)
end
function GetNearestPartToCursorOnCharacter(character)
local ClosestDistance = [Link]
local BodyPart = nil
if (character and character:GetChildren()) then
for k, x in next, character:GetChildren() do
if Filter(x) and IsOnScreen(x) then
local Distance = (WTS(x) - [Link](Mouse.X, Mouse.Y)).Magnitude
if Distance < ClosestDistance then
ClosestDistance = Distance
BodyPart = x
end
end
end
end
return BodyPart
end
[Link]:Connect(function()
if getgenv().[Link] == true and Plr and [Link] ~= nil then
if getgenv().[Link] then
if [Link]["K.O"].Value then Plr = nil end
end
if getgenv().[Link] then
local Main =
[Link]([Link].p,[Link][getgenv().[Link]].Position +
[Link][getgenv().[Link]].Velocity * getgenv().[Link] +
[Link](
[Link](-getgenv().[Link],
getgenv().[Link]),
[Link](-getgenv().[Link],
getgenv().[Link]),
[Link](-getgenv().[Link],
getgenv().[Link])
) * 0.1)
[Link] = [Link]:Lerp(Main,
getgenv().[Link], [Link],
[Link], [Link], [Link])
else
local Main =
[Link]([Link].p,[Link][getgenv().[Link]].Position +
[Link][getgenv().[Link]].Velocity * getgenv().[Link])
[Link] = [Link]:Lerp(Main,
getgenv().[Link], [Link],
[Link], [Link], [Link])
end
end
end)
[Link](function()
while [Link]() do
if getgenv().[Link] and Plr ~= nil and ([Link]) then
getgenv().[Link] =
tostring(GetNearestPartToCursorOnCharacter([Link]))
end
end
end)