Advertisement
Theskyler900

Working the streets anti cheat bypass

Aug 26th, 2019
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. spawn(function()
  2. local mt = getrawmetatable(game)
  3. setreadonly(mt,false)
  4. local backup
  5. local hook = function(tbl,idx,val)
  6. if checkcaller() then return backup(tbl,idx,val) end
  7. if tbl:IsA("Humanoid") and idx == "Health" then
  8. return
  9. end
  10. if tbl.Name == "HumanoidRootPart" and idx == "CFrame"then
  11. return "notnx"
  12. end
  13. if idx == "WalkSpeed" then
  14. return "notnx"
  15. end
  16. if idx == "Sit" then
  17. pcall(function()
  18. local chr = game.Players.LocalPlayer.Character
  19. chr:FindFirstChildOfClass("Humanoid").Sit = false
  20. chr.HumanoidRootPart.Anchored = false
  21. end)
  22. return "notnx"
  23. end
  24. return backup(tbl,idx,val)
  25. end
  26. backup = hookfunction(mt.__newindex,hook)
  27. end)
  28. wait(0.1)
  29. spawn(function()
  30. local mt = getrawmetatable(game)
  31. setreadonly(mt,false)
  32. local backup
  33. local hook = function(self,...)
  34. if checkcaller() then return backup(self,...) end
  35. local args = {...}
  36. local method = table.remove(args)
  37. if method:lower() == "breakjoints" then
  38. return "notnx"
  39. end
  40. if args[1] == "spd" or args[1] == " jumpheiught" or args[1] == " hipheight" or args[1] == "bork" then
  41. return "notnx"
  42. end
  43. return backup(self,...)
  44. end
  45. backup = hookfunction(mt.__namecall,hook)
  46. end)
  47.  
  48. game:GetService("UserInputService").InputBegan:connect(function(input,gameprocesed)
  49. if input.KeyCode == Enum.KeyCode.LeftShift then
  50. for i = 1,16 do
  51. wait()
  52.  
  53. game.Players.LocalPlayer.Character:WaitForChild("Humanoid").WalkSpeed = 200
  54. end
  55. end
  56. end)
  57.  
  58. game:GetService("UserInputService").InputEnded:connect(function(input,gameprocesed)
  59. if input.KeyCode == Enum.KeyCode.LeftShift then
  60. for i = 1,16 do
  61. wait()
  62.  
  63. game.Players.LocalPlayer.Character:WaitForChild("Humanoid").WalkSpeed = 16
  64. end
  65. end
  66. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement