Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- // Services
- local Players = game:GetService("Players")
- local Workspace = game:GetService("Workspace")
- local StarterGui = game:GetService("StarterGui")
- -- // Vars
- local LocalPlayer = Players.LocalPlayer
- local CurrentCamera = Workspace.CurrentCamera
- getgenv().DaHoodAntiCheat = {
- WalkSpeed = 50,
- JumpPower = 100
- }
- local detectionVectors = {
- CHECKER_1 = true,
- TeleportDetect = true,
- OneMoreTime = true
- }
- -- // Metatable vars
- local mt = getrawmetatable(game)
- local backupnamecall = mt.__namecall
- local backupnewindex = mt.__newindex
- setreadonly(mt, false)
- -- // Hook
- mt.__namecall = newcclosure(function(...)
- -- // Vars
- local method = getnamecallmethod()
- local args = {...}
- -- // Check if it trying to do naughty
- if (method == "FireServer" and tostring(args[1]) == "MainEvent" and detectionVectors[args[2]]) then
- return wait(9e9)
- end
- -- // Fly Bypass
- if (not checkcaller() and getfenv(1).crash ~= nil and getfenv(1).checkChild ~= nil) then
- return wait(9e9)
- end
- -- // Return
- return backupnamecall(...)
- end)
- mt.__newindex = newcclosure(function(t, k, v)
- if (not checkcaller() and k == "WalkSpeed" or k == "JumpPower" and getcallingscript().Name == "Framework") then
- return nil
- end
- return backupnewindex(t, k, v)
- end)
- -- // End Metatable
- setreadonly(mt, true)
- -- // Walkspeed Bypass
- function bypassWalkSpeed()
- local gGC = getgc()
- for i = 1, #gGC do
- local v = gGC[i]
- if (debug.getinfo(v).name == "checkingSPEED") then
- hookfunction(v, function() return end)
- end
- end
- end
- bypassWalkSpeed()
- LocalPlayer.CharacterAdded:Connect(function()
- LocalPlayer.Character:WaitForChild("Animate")
- bypassWalkSpeed()
- end)
- print("Anti Cheat Bypass Loaded!")
- -- // Anti Ban + Godmode
- do
- LocalPlayer.Character.Humanoid.Health = 0
- local nCharacter = LocalPlayer.CharacterAdded:Wait()
- local spoofFolder = Instance.new("Folder", nCharacter)
- spoofFolder.Name = "FULLY_LOADED_CHAR"
- local Target = nCharacter:WaitForChild("RagdollConstraints")
- local Clone = Target:Clone()
- Clone.Parent = nCharacter
- Target:Destroy()
- end
- -- // Makes it persist
- LocalPlayer.Character.Humanoid.HealthChanged:Connect(function(health)
- if (health <= 0) then
- wait(0.1)
- local tool = LocalPlayer.Character:FindFirstChildWhichIsA("Tool")
- if (tool) then
- local toolName = tool.Name
- LocalPlayer.Character.Humanoid:UnequipTools()
- LocalPlayer.Backpack[toolName]:EquipTool()
- end
- wait(0.5)
- StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
- end
- end)
- -- // Hook
- mt.__newindex = newcclosure(function(t, k, v)
- -- // Check if it is trying to set the camera subject, then if it is, stop it
- if (not checkcaller() and t == CurrentCamera and k == "CameraSubject" and v == LocalPlayer.Character.UpperTorso) then
- return nil
- end
- return backupnewindex(t, k, v)
- end)
Advertisement
Add Comment
Please, Sign In to add comment