Anomic - ANTI CHEAT BYPASS
Anomic - ANTI CHEAT BYPASS
Anomic - ANTI CHEAT BYPASS
local hookNamecall
hookNamecall = hookmetamethod(game, "__namecall", newcclosure(function(...)
if not checkcaller() then
local func = getnamecallmethod()
local stuffs = {...}
local the1 = stuffs[1]
local the2 = stuffs[2]
if oldIndex(plr, "Character") then
if
rawequal(func, "SetPrimaryPartCFrame")
and rawequal(typeof({...}), "table")
and not rawequal(the1, nil)
and not rawequal(the2, nil)
and rawequal(typeof(the1), "Instance")
and rawequal(typeof(the2), "CFrame")
and rawequal(the1, oldIndex(plr, "Character"))
and rawequal(the1.Name, oldIndex(plr, "Name"))
then
return CFrame.new(0,0,0) -- anti rollback
end
end
if
rawequal(func, "FindPartOnRayWithWhitelist")
and tostring(getcallingscript()) == "GunHandlerLocal"
then
--warn(...)
return wait(9e9) -- disable the anticheat for his main part
end
end
return hookNamecall(...)
end))
local oldInst
oldInst = hookfunction(getrenv().Instance.new, newcclosure(function(...)
local args = {...}
if
(not checkcaller()) and callscript:IsDescendantOf(LP) -- wtf is
LP??? -- that part was from a friend :p
and callscript.Name ~= "RbxCharacterSounds" and callscript.Name ~=
"ChatMain"
then
return nil -- the game create a shit tons of part to make ur game
lag/crash (idk why)
end
return oldInst(...)
end))
local toBypass = {
getconnections(game:GetService("ScriptContext").Error), -- Script Error
getconnections(replicatedStorage["_CS.Events"].ToolEvent.OnClientEvent),
-- disable future event
getconnections(workspace:GetPropertyChangedSignal("Gravity")), --
Gravity
getconnections(char.DescendantAdded), -- PRIMARY
}
local function BypassConnections()
for _, v in pairs(toBypass) do
for _,v in pairs(v) do
v:Disable()
end
end
end
plr.CharacterAdded:Connect(BypassConnections)
BypassConnections() -- load it
end
end