MegaPro23411424214

ROBLOX KAT AIMBOT HACK | PASTEBIN

Feb 1st, 2022
2,478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. This script will not work for non subscribers.
  2. =
  3. https://www.youtube.com/channel/UCkMHexwnJeymGugfh1QGX
  4.  
  5. --BROUGHT TO YOU BY ALONEOWILS Exploits--
  6.  
  7. getgenv().silentaim_settings = {
  8. fov = 150,
  9. hitbox = "Head",
  10. fovcircle = true,
  11. }
  12. -- Services
  13. local Players = game:GetService("Players")
  14. local RunService = game:GetService("RunService")
  15.  
  16. -- Player
  17. local Player = Players.LocalPlayer
  18. local Mouse = Player:GetMouse()
  19. local CurrentCamera = workspace.CurrentCamera
  20.  
  21. local function GetClosest(Fov)
  22. local Target, Closest = nil, Fov or math.huge
  23.  
  24. for i,v in pairs(Players:GetPlayers()) do
  25. if (v.Character and v ~= Player and v.Character:FindFirstChild(getgenv().silentaim_settings.hitbox)) then
  26. local Position, OnScreen = CurrentCamera:WorldToScreenPoint(v.Character[getgenv().silentaim_settings.hitbox].Position)
  27. local Distance = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
  28.  
  29. if (Distance < Closest and OnScreen) then
  30. Closest = Distance
  31. Target = v
  32. end
  33. end
  34. end
  35.  
  36. return Target
  37. end
  38.  
  39. local Target
  40. local CircleInline = Drawing.new("Circle")
  41. local CircleOutline = Drawing.new("Circle")
  42. RunService.Stepped:Connect(function()
  43. CircleInline.Radius = getgenv().silentaim_settings.fov
  44. CircleInline.Thickness = 2
  45. CircleInline.Position = Vector2.new(Mouse.X, Mouse.Y + 36)
  46. CircleInline.Transparency = 1
  47. CircleInline.Color = Color3.fromRGB(255, 255, 255)
  48. CircleInline.Visible = getgenv().silentaim_settings.fovcircle
  49. CircleInline.ZIndex = 2
  50.  
  51. CircleOutline.Radius = getgenv().silentaim_settings.fov
  52. CircleOutline.Thickness = 4
  53. CircleOutline.Position = Vector2.new(Mouse.X, Mouse.Y + 36)
  54. CircleOutline.Transparency = 1
  55. CircleOutline.Color = Color3.new()
  56. CircleOutline.Visible = getgenv().silentaim_settings.fovcircle
  57. CircleOutline.ZIndex = 1
  58.  
  59. Target = GetClosest(getgenv().silentaim_settings.fov)
  60. end)
  61.  
  62. local Old; Old = hookmetamethod(game, "__namecall", function(Self, ...)
  63. local Args = {...}
  64.  
  65. if (not checkcaller() and getnamecallmethod() == "FindPartOnRayWithIgnoreList") then
  66. if (table.find(Args[2], workspace.WorldIgnore.Ignore) and Target and Target.Character) then
  67. local Origin = Args[1].Origin
  68.  
  69. Args[1] = Ray.new(Origin, Target.Character[getgenv().silentaim_settings.hitbox].Position - Origin)
  70. end
  71. end
  72.  
  73. return Old(Self, unpack(Args))
  74. end)
  75.  
Advertisement
Add Comment
Please, Sign In to add comment