Advertisement
Developer_slacks

AIMBOT use synpase

Sep 28th, 2023
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.19 KB | None | 0 0
  1. local Localplayer= Players.LocalPlayer
  2. local Players = game:Getservice("Players")
  3. local Camera - workspace.Currentcamera
  4. local Runservice = game:getService("Runservice")
  5. Local UserInputService = game:getservice("userInputService")
  6. local TweenService = game:getservice("tweenService")
  7. local Holding = false
  8.  
  9. -- AIMBOT SETTINGS
  10. _G.AimbotEnabled = true
  11. _G.Teamcheck = true
  12. _G.Aimpart = "Head"
  13. _G.Sensitivity = 0
  14.  
  15. -- CIRCLE SETTINGS
  16.  
  17. _G.CircleSides = 64
  18. _G.CircleColor = Color3.fromRGB(255 , 255 ,255)
  19. _G.CircleTransparency = 0.7
  20. _G.CircleRadius = 80
  21. _G.CircleFilled = false
  22. _G.circleVisibal - true
  23. _G.CircleThickness = 0
  24.  
  25.  
  26. Local FovCircle = Drawing.new("Circle")
  27. FOVcircle.Position = vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  28. Fovcircle.Radius = _G.CircleRadius
  29. FovCircle.Filled = _G.CircleFilled
  30. FovCircle.color = _G.CircleColor
  31. FovCircle.Visible = _G.circleVisibal
  32. FovCircle.Radius = _G.CircleRadius
  33. FovCircle.transparency = _G.CircleTransparency
  34. FovCircle.Numsides = _G.CircleSides
  35. FovCircle.Thickness = _G.CircleThickness
  36. Local function GetclosetPlayer
  37. local MaxinumDistance = _G.CircleRadius
  38. local Target = nil
  39.  
  40. for _, v in next Players:Getplayers() do
  41. if v.Name ~= LocalPlayer.Name then
  42. if _G.Teamcheck -- true then
  43. if v.Character ~= nil then
  44. if v.Charcater:FindFirstChild("HumanoidRootPart") ~= nil then
  45. if v.Chracater:FindFirstChild ("Humandoid") ~= nil and v.character: FindFirstChild("Humanoid").Health ~= 0 then
  46. local ScreenPoint = Camera:WroldToScreenPoint(v.Character:Waitforchild("HumandoidRpptPart", math.huge).Position)
  47. local VectorDistance = (vector2.new(UserInputService:getmouseLocation().X, Userinput:getMouseLocation().Y) - Vector.new(ScreenPoint.X, ScreenPoint.Y)).Magnitude
  48.  
  49. if VectorDistance < MaxinumDistance then
  50. Target = v
  51. end
  52. end
  53. end
  54. end
  55. end
  56. else
  57. if v.Character ~= nil then
  58. if v.Charcater:FindFirstChild("HumanoidRootPart") ~= nil then
  59. if v.Chracater:FindFirstChild ("Humandoid") ~= nil and v.character: FindFirstChild("Humanoid").Health ~= 0 then
  60. local ScreenPoint = Camera:WroldToScreenPoint(v.Character:Waitforchild("HumandoidRpptPart", math.huge).Position)
  61. local VectorDistance = (vector2.new(UserInputService:getmouseLocation().X, Userinput:getMouseLocation().Y) - Vector.new(ScreenPoint.X, ScreenPoint.Y)).Magnitude
  62.  
  63. if VectorDistance < MaxinumDistance then
  64. Target = v
  65. end
  66. end
  67. end
  68. end
  69. end
  70. end
  71. end
  72. Return Target
  73. end
  74.  
  75. UserInputService.Inputbegan:Connect(function(Input)
  76. if input.UserInputType == Enum.UserInputType.MouseButton2 then
  77. Holding = true
  78. end
  79. end)
  80.  
  81. UserInputService.InputEnded:Connect(function(Input)
  82. if input.UserInputType == Enum.UserInputType.MouseButton2 then
  83. Holding = false
  84. end
  85. end)
  86.  
  87. RunService.RenderStepped:Connect(Functio()
  88. FOVcircle.Position = vector2.new(UserInputService:getMouseLocation().X, UserInputService:getMouseLocation(). Y)
  89. Fovcircle.Radius = _G.CircleRadius
  90. FovCircle.Filled = _G.CircleFilled
  91. FovCircle.color = _G.CircleColor
  92. FovCircle.Visible = _G.circleVisibal
  93. FovCircle.Radius = _G.CircleRadius
  94. FovCircle.transparency = _G.CircleTransparency
  95. FovCircle.Numsides = _G.CircleSides
  96. FovCircle.Thickness = _G.CircleThickness
  97.  
  98. if holding == true and _G.AimbotEnabled == true then
  99. TweenService:Create(Camera, TweenInfo.new(_G.Sensitivity, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {Cframe = Cframe.new(Camera.Cframe.Position, GetclosetPlayer().Character{_G.Aimpart}.Position)}):play()
  100. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement