M4DH4X

Untitled

Feb 3rd, 2021
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. -- // Services
  2. local Players = game:GetService("Players")
  3.  
  4. -- // Vars
  5. getgenv().DaHoodAntiCheat = {
  6. WalkSpeed = 50,
  7. JumpPower = 100
  8. }
  9. local LocalPlayer = Players.LocalPlayer
  10. local detectionVectors = {
  11. CHECKER_1 = true,
  12. TeleportDetect = true,
  13. OneMoreTime = true
  14. }
  15.  
  16. -- // Metatable vars
  17. local mt = getrawmetatable(game)
  18. local backupnamecall = mt.__namecall
  19. local backupnewindex = mt.__newindex
  20. setreadonly(mt, false)
  21.  
  22. -- // Hook
  23. mt.__namecall = newcclosure(function(...)
  24. -- // Vars
  25. local method = getnamecallmethod()
  26. local args = {...}
  27.  
  28. -- // Check if it trying to do naughty
  29. if (method == "FireServer" and tostring(args[1]) == "MainEvent" and detectionVectors[args[2]]) then
  30. return wait(9e9)
  31. end
  32.  
  33. -- // Fly Bypass
  34. if (not checkcaller() and getfenv(1).crash ~= nil and getfenv(1).checkChild ~= nil) then
  35. return wait(9e9)
  36. end
  37.  
  38. -- // Return
  39. return backupnamecall(...)
  40. end)
  41.  
  42. mt.__newindex = newcclosure(function(t, k, v)
  43. if (not checkcaller() and k == "WalkSpeed" or k == "JumpPower" and getcallingscript().Name == "Framework") then
  44. return nil
  45. end
  46.  
  47. return backupnewindex(t, k, v)
  48. end)
  49.  
  50. -- // End Metatable
  51. setreadonly(mt, true)
  52.  
  53.  
  54. -- // Walkspeed Bypass
  55. function bypassWalkSpeed()
  56. local gGC = getgc()
  57. for i = 1, #gGC do
  58. local v = gGC[i]
  59.  
  60. if (debug.getinfo(v).name == "checkingSPEED") then
  61. hookfunction(v, function() return end)
  62. end
  63. end
  64. end
  65. bypassWalkSpeed()
  66. LocalPlayer.CharacterAdded:Connect(function()
  67. LocalPlayer.Character:WaitForChild("Animate")
  68. bypassWalkSpeed()
  69. end)
  70.  
  71. print("Anti Cheat Bypass Loaded!")
Advertisement
Add Comment
Please, Sign In to add comment