Advertisement
rexscripts

Bad Business Script – (Hitbox Extender & ESP)

Mar 3rd, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. local n = {["Tea"]=nil,["Char"]=nil}--network lol
  2. local blacklist = {"Camera object","Geometry delete","Floating","Hitbox e","Fallback co","Coregui insta","Deleted ","gloop","_G","Looking hard","Alternate"}
  3.  
  4. local OldNameCall
  5. OldNameCall = hookmetamethod(game, "__namecall", function(...)
  6. local Args={...}
  7. if getnamecallmethod()=="FireServer" and not checkcaller() and #Args>2 then
  8. local s = Args[3]
  9. if typeof(s)=="string" and s~="Look" then
  10. for i,v in pairs(blacklist) do
  11. if string.find(s,v) then
  12. return wait(9e9)
  13. end
  14. end
  15. end
  16. end
  17. return OldNameCall(...)
  18. end)
  19. for i,v in pairs(getgc()) do
  20. if type(v)=="function" and getinfo(v).name=="GetCharacter" then
  21. n.Char=v
  22. end
  23. if type(v)=="function" and getinfo(v).name=="GetPlayerTeam" then
  24. n.Tea=v
  25. end
  26. end
  27. body = function(p)
  28. return n.Char(p,p)
  29. end
  30. team = function(p)
  31. return n.Tea(p,p)
  32. end
  33. local l = game:GetService("Players").LocalPlayer
  34. local old_index
  35. old_index = hookmetamethod(game, "__index", function(t, i)
  36. if checkcaller() and i == "Character" and t~=l then
  37. if body(t) and body(t):FindFirstChild("Hitbox") then--thanks to the person who made the __index hook here https://v3rmillion.net/showthread.php?pid=8103376#pid8103376
  38. return body(t)
  39. end
  40. end
  41. if checkcaller() and i == "Team" then
  42. if team(t) then
  43. return team(t)
  44. end
  45. end
  46. return old_index(t, i)
  47. end)
  48. local function esp(v)
  49. if v.Character and v.Team~=game.Players.LocalPlayer.Team and not v.Character:FindFirstChildWhichIsA("BoxHandleAdornment",true) then
  50. for i,v in pairs(v.Character:GetDescendants()) do
  51. if v:IsA("BasePart") then
  52. a = Instance.new("BoxHandleAdornment", v)
  53. a.Adornee = v
  54. v.Size=v.Size+Vector3.new(6,6,6)
  55. v.Massless=true
  56. v.CanCollide=false
  57. a.Size = v.Size - Vector3.new(0.1, 0.1, 0.1)
  58. a.Transparency = 0.989
  59. a.ZIndex = 10
  60. a.AlwaysOnTop = true
  61. end
  62. end
  63. end
  64. end
  65. while wait(1) do
  66. for i,v in pairs(game.Players:GetPlayers()) do
  67. esp(v)
  68. end
  69. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement