--[[
_______ _______ _____ *
* | |______ | | | *
| ______| |_____| |_____
* * The Stars Of Lockers *
V A U L T
LEAKED BY [Link]
FIXED BY COLLOPER
*
--]]
getgenv().NemesisPreBeta = {
["Settings"] = {
Disabling = {Toggle = false, Keybind = "H"},
UpdateTickDelay = 0.05
},
["Camlock"] = {
Toggling = {
Enable = true,
Keybind = "C"
},
Settings = {
Prediction = {
false,
.11934,
false,
.003
},
Smoothing = {
smoothness = true,
x = 1,
y = 1
},
OffSets = {
Jump = {
Enable = false,
[1] = [Link](0, 3, 0)
}
}
},
Conditions = {
Player = {
WallCheck = false,
Grabbed = false,
Knocked = false,
CrewID = false
},
BodyParts = {"HumanoidRootPart", "Head"}
}
},
["Silent"] = {
Toggling = { Enable = true },
Settings = {
Prediction = { true , 0.11934 , false, 0.003 },
HitChance = 100,
Resolver = true,
OffSets = {
Jump = {
Enable = false,
[1] = [Link](0, 0, 0)
}
}
},
Conditions = {
Player = { WallCheck = false, Grabbed = false, Knocked = false, CrewID
= false },
BodyParts = {"HumanoidRootPart", "UpperTorso", "Head"}
}
},
["Field Of View"] = {
Enable = true,
Size = 1000,
Color = [Link](255, 255, 255),
},
["Miscs"] = {
["Sorting"] = {
Toggled = false,
Key = "F",
alphabetically = true,
Ammo = false,
Custom = {
Enable = false,
List = {[1] = "[Revolver]", [2] = "[Chicken]"} -- // etc
}
},
["Animation"] = {
Enable = true,
Animations = {["Greet"] = {[1] = false, [2] = "V"}}
}
}
}
local DUpvalue, Round, V3, V2, CF, Rservice, UserInput, Ping, Mouse, backpack =
[Link], [Link], [Link], [Link], [Link],
game:GetService("RunService"), game:GetService("UserInputService"),
game:GetService("Stats").[Link],
game:GetService("Players").LocalPlayer:GetMouse(),
game:GetService("Players").[Link]
local Players, Self, Character, Camera = game:GetService("Players"),
game:GetService("Players").LocalPlayer,
game:GetService("Players").[Link] or
game:GetService("Players").[Link]:Wait(),
game:GetService("Workspace").CurrentCamera
local idx, endp
local Storage = {
Drawings = {},
Connections = {},
targets = {
[1] = nil,
[2] = nil
},
ValuePosition = nil,
bodyparts = {
[1] = "",
[2] = ""
},
update_tick = tick(),
etc = {
Ctoggled = false,
Mtoggled = false
},
items = {}
}
function NewConnection(type, callback)
local connection = type:Connect(callback)
[Link][#[Link]+1] = connection
return connection
end
function Chance(chance, maxchance)
return [Link](maxchance) <= chance
end
function Thread(Function, ...)
local co
local success, result
if Function ~= nil then
co = [Link](Function)
success, result = [Link](co, ...)
end
if success ~= nil and co ~= nil and Function ~= nil then
return result
end
end
function wallcheck(origin)
local parts = Camera:GetPartsObscuringTarget({[Link],
[Link]}, {Camera, Character, [Link]})
if #parts == 0 then
return true
end
return false
end
function Grabbed(player)
if [Link] ~= nil then
return not [Link]:FindFirstChild("GRABBING_CONSTRAINT")
end
end
function Knocked(player)
if [Link] ~= nil then
return [Link]["K.O"].Value ~= true
end
end
local pingHistory = {}
local lastPingUpdateTime = tick()
function GetPrediction()
local currentPing = Ping:GetValue() * 0.003
if getgenv().[Link][3] or
getgenv().[Link][3] then
return currentPing
else
return getgenv().[Link][2] and
getgenv().[Link][2]
end
end
function Crew(player)
if
[Link]:FindFirstChild("DataFolder"):FindFirstChild("Information")
:FindFirstChild("Crew") then
local SelfCrewValue =
[Link]:FindFirstChild("DataFolder"):FindFirstChild("Information")
:FindFirstChild("Crew")
if [Link] ~= 0 then
if
player:FindFirstChild("DataFolder"):FindFirstChild("Information"):FindFirstChild("C
rew") then
local Enimy =
player:FindFirstChild("DataFolder"):FindFirstChild("Information"):FindFirstChild("C
rew")
if [Link] == [Link] then
return false
end
end
end
end
return true
end
function Closespart(player, hitboxes)
local closestPart
local closestDistanc = [Link]
for _, hitbox in pairs(hitboxes) do
local part = [Link]:FindFirstChild(hitbox)
if part then
local pos = Camera:WorldToViewportPoint([Link])
local distance = (UserInput:GetMouseLocation() - V2(pos.X,
pos.Y)).Magnitude
if distance < closestDistanc then
closestPart = part
closestDistanc = distance
end
end
end
return closestPart
end
function isInCustomList(toolName)
for _, customName in ipairs(getgenv().[Link])
do
if toolName == customName then
return true
end
end
return false
end
function GetClosest(table)
local MaxDistance = getgenv().NemesisPreBeta["Field Of View"].Enable and
getgenv().NemesisPreBeta["Field Of View"].Size or [Link]
local Target
for i,v in pairs(Players:GetPlayers()) do
if v ~= Self and [Link] ~= nil and
[Link]:FindFirstChild("HumanoidRootPart") and
[Link]:FindFirstChild("Head") then
local ViewPort, Visible =
Camera:WorldToViewportPoint([Link])
local Mag = (UserInput:GetMouseLocation() - [Link](ViewPort.X,
ViewPort.Y)).Magnitude
if MaxDistance > Mag and Visible and (
([Link] and wallcheck([Link])) or
true and
([Link] and Grabbed(v)) or true and
([Link] and Knocked(v)) or true and
([Link] and Crew(v)) or true
) then
MaxDistance = Mag
Target = v
end
end
end
return Target
end
function Velocity(Target, method)
if method == true then
local pos = [Link]
local lastTime = tick()
local currentPos, currentTime
local connection
connection =
game:GetService("RunService").Heartbeat:Connect(
function()
currentPos = [Link]
currentTime = tick()
connection:Disconnect()
end
)
wait(0.01)
local velocity = (currentPos - pos) / (currentTime - lastTime)
return [Link]([Link](velocity.X), [Link](velocity.Y),
[Link](velocity.Z))
else
return
[Link]:FindFirstChild("HumanoidRootPart").AssemblyLinearVelocity
end
end
function playAnimation(animationName)
local args = {
[1] = "AnimationPack",
[2] = animationName,
}
game:GetService("ReplicatedStorage").MainEvent:FireServer(unpack(args))
end
-- // updates
function UpdateSilent()
local SilentTable = getgenv().[Link]
if [Link] then
[Link][2] = GetClosest([Link])
if [Link][2] ~= nil and [Link][2].Character ~= nil and
[Link][2].Character:FindFirstChild("HumanoidRootPart") then
[Link][2] = tostring(Closespart([Link][2],
[Link]))
local position =
[Link][2].Character[[Link][2]].Position
if [Link] and
[Link][2].Character:FindFirstChildOfClass("Humanoid"):GetState() ==
[Link] then
position = position + [Link][1]
end
[Link] = position + ([Link] and
Velocity([Link][2], [Link]) * GetPrediction() or 0)
end
end
end
function UpdateCamlock()
local CamLockTable = getgenv().[Link]
if [Link] and [Link] and [Link][1]
~= nil and [Link][1].Character ~= nil then
local position =
[Link][1].Character[[Link][1]].Position
if [Link] and
[Link][1].Character:FindFirstChildOfClass("Humanoid"):GetState() ==
[Link] then
position = position + [Link][1]
end
if [Link] then
local goal = [Link]([Link], position +
([Link][1] * GetPrediction() or [Link]()))
[Link] = [Link]:Lerp(goal,
[Link].x, [Link].y)
else
local prediction = [Link][1] and
[Link][1].[Link] *
GetPrediction() or [Link]()
[Link] = [Link]([Link], position +
prediction)
end
end
end
do -- main connection
NewConnection([Link], function(key, wtv)
if [Link] ==
[Link][getgenv().[Link]:upper()] and not wtv
then
if getgenv().[Link] then
[Link] = not [Link]
[Link][1] =
GetClosest(getgenv().[Link])
if
[Link][1] and [Link][1].Character then
[Link][1] = tostring(Closespart([Link][1],
getgenv().[Link]))
end
else
if [Link][1] ~= nil then
[Link][1] = nil
end
end
end
end)
NewConnection([Link], function(key, wtv)
if getgenv().[Link] and [Link] ==
[Link][getgenv().[Link]:upper()] and not
wtv then
for i,v in pairs([Link]) do
if v then
v:Disconnect()
end
end
for i,v in pairs([Link]) do
if v and v.__OBJECT_EXISTS then
print("f")
end
end
end
end)
NewConnection([Link], function(key, wtv)
if getgenv().[Link] and [Link] ==
[Link][getgenv().[Link]:upper()] and not wtv then
local items = {}
if getgenv().[Link] then
for _, customName in
ipairs(getgenv().[Link]) do
for _, item in pairs(backpack:GetChildren()) do
if item:IsA("Tool") and [Link] == customName then
[Link](items, 1, item)
break
end
end
end
end
for _, item in pairs(backpack:GetChildren()) do
if item:IsA("Tool") and (not
getgenv().[Link] or not
isInCustomList([Link])) then
[Link](items, item)
end
end
if getgenv().[Link] and not
getgenv().[Link] then
[Link](items, function(a, b)
return [Link] < [Link]
end)
end
if getgenv().[Link] and not
getgenv().[Link] then
[Link](items, function(a, b)
return [Link] > [Link]
end)
end
for _, item in ipairs(items) do
[Link] = nil
wait(0.01)
[Link] = backpack
end
end
end)
NewConnection([Link], function(key, wtv)
if getgenv().[Link] and not wtv then
for animationName, animationData in
pairs(getgenv().[Link]) do
if animationData[1] and [Link] ==
[Link][animationData[2]] then
playAnimation(animationName)
break
end
end
end
end)
NewConnection([Link], function()
--// camlock
Thread(UpdateCamlock())
--// Silent UPDATE
Thread(UpdateSilent())
end)
end
for connection, index in next, getconnections([Link])
do
index:Disable()
end
for connection, index in next,
getconnections([Link]:GetPropertyChangedSignal("CFrame")) do
index:Disable()
end
local oldIndex
oldIndex = hookmetamethod(game, "__index", function(t, k)
if t:IsA("Mouse") and k == "Hit" or k == "Target" then
if getgenv().[Link] and
Chance(getgenv().[Link], 100) and
[Link][2] ~= nil then
local Hit = [Link]([Link])
return (k == "Hit" and Hit)
end
end
return oldIndex(t, k)
end)