Advertisement
Guest User

Da hood script

a guest
Jan 28th, 2023
41,520
1
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.84 KB | None | 1 0
  1. Silent aim:
  2.  
  3. getgenv().Prediction = ( .1239592 ) -- [ PREDICTION: Lower Prediction: Lower Ping | Higher Prediction: Higher Ping ]
  4.  
  5. getgenv().FOV = ( 80 ) -- [ FOV RADIUS: Increases Or Decreases FOV Radius ]
  6.  
  7. getgenv().AimKey = ( "e" ) -- [ TOGGLE KEY: Toggles Silent Aim On And Off ]
  8.  
  9. getgenv().Notifier = true
  10.  
  11. getgenv().FOV_VISIBLE = false -- [ Self Explanatory ]
  12.  
  13. getgenv().DontShootThesePeople = { -- [ WHITELIST TABLE: List Of Who NOT To Shoot, edit like this. "Contain quotations with their name and then a semi-colon afterwards for each line" ; ]
  14.  
  15. "AimLockPsycho";
  16. "JakeTheMiddleMan";
  17.  
  18. }
  19.  
  20. --[[
  21. Do Not Edit Anything Beyond This Point.
  22. ]]
  23.  
  24. local SilentAim = true
  25. local LocalPlayer = game:GetService("Players").LocalPlayer
  26. local Players = game:GetService("Players")
  27. local Mouse = LocalPlayer:GetMouse()
  28. local Camera = game:GetService("Workspace").CurrentCamera
  29. local connections = getconnections(game:GetService("LogService").MessageOut)
  30. for _, v in ipairs(connections) do
  31. v:Disable()
  32. end
  33.  
  34. getrawmetatable = getrawmetatable
  35. setreadonly = setreadonly
  36. getconnections = getconnections
  37. hookmetamethod = hookmetamethod
  38. getgenv = getgenv
  39. Drawing = Drawing
  40.  
  41. local FOV_CIRCLE = Drawing.new("Circle")
  42. FOV_CIRCLE.Visible = getgenv().FOV_VISIBLE
  43. FOV_CIRCLE.Filled = false
  44. FOV_CIRCLE.Thickness = 1
  45. FOV_CIRCLE.Transparency = 1
  46. FOV_CIRCLE.Color = Color3.new(0, 1, 0)
  47. FOV_CIRCLE.Radius = getgenv().FOV
  48. FOV_CIRCLE.Position = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  49.  
  50. local Options = {
  51. Torso = "HumanoidRootPart";
  52. Head = "Head";
  53. }
  54.  
  55. local function MoveFovCircle()
  56. pcall(function()
  57. local DoIt = true
  58. spawn(function()
  59. while DoIt do task.wait()
  60. FOV_CIRCLE.Position = Vector2.new(Mouse.X, (Mouse.Y + 36))
  61. end
  62. end)
  63. end)
  64. end coroutine.wrap(MoveFovCircle)()
  65.  
  66. game.StarterGui:SetCore("SendNotification", {Title = "Silent Aim ON", Text = "TOGGLED", Duration = 5,}) -- initially on.
  67.  
  68. local function ItsOn()
  69. game.StarterGui:SetCore("SendNotification", {Title = "Silent Aim ON", Text = "TOGGLED", Duration = 5,})
  70. end
  71. local function ItsOff()
  72. game.StarterGui:SetCore("SendNotification", {Title = "Silent Aim OFF", Text = "UN-TOGGLED", Duration = 5,})
  73. end
  74.  
  75. Mouse.KeyDown:Connect(function(KeyPressed)
  76. if KeyPressed == (getgenv().AimKey:lower()) then
  77. if SilentAim == false then
  78. FOV_CIRCLE.Color = Color3.new(0, 1, 0)
  79. SilentAim = true
  80. ItsOn()
  81. elseif SilentAim == true then
  82. FOV_CIRCLE.Color = Color3.new(1, 0, 0)
  83. SilentAim = false
  84. ItsOff()
  85. end
  86. end
  87. end)
  88. Mouse.KeyDown:Connect(function(Rejoin)
  89. if Rejoin == "=" then
  90. local LocalPlayer = game:GetService("Players").LocalPlayer
  91. game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer)
  92. end
  93. end)
  94.  
  95. local oldIndex = nil
  96. oldIndex = hookmetamethod(game, "__index", function(self, Index)
  97. if self == Mouse and (Index == "Hit") then
  98. if SilentAim then
  99. local Distance = 9e9
  100. local Target = nil
  101. local Players = game:GetService("Players")
  102. local LocalPlayer = game:GetService("Players").LocalPlayer
  103. local Camera = game:GetService("Workspace").CurrentCamera
  104. for _, v in pairs(Players:GetPlayers()) do
  105. if not table.find(getgenv().DontShootThesePeople, v.Name) then
  106. if v ~= LocalPlayer and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Humanoid") and v.Character:FindFirstChild("Humanoid").Health > 0 then
  107. local Enemy = v.Character
  108. local CastingFrom = CFrame.new(Camera.CFrame.Position, Enemy[Options.Torso].CFrame.Position) * CFrame.new(0, 0, -4)
  109. local RayCast = Ray.new(CastingFrom.Position, CastingFrom.LookVector * 9000)
  110. local World, ToSpace = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(RayCast, {LocalPlayer.Character:FindFirstChild("Head")})
  111. local RootWorld = (Enemy[Options.Torso].CFrame.Position - ToSpace).magnitude
  112. if RootWorld < 4 then
  113. local RootPartPosition, Visible = Camera:WorldToScreenPoint(Enemy[Options.Torso].Position)
  114. if Visible then
  115. local Real_Magnitude = (Vector2.new(Mouse.X, Mouse.Y) - Vector2.new(RootPartPosition.X, RootPartPosition.Y)).Magnitude
  116. if Real_Magnitude < Distance and Real_Magnitude < FOV_CIRCLE.Radius then
  117. Distance = Real_Magnitude
  118. Target = Enemy
  119. end
  120. end
  121. end
  122. end
  123. end
  124. end
  125.  
  126. if Target ~= nil and Target[Options.Torso] and Target:FindFirstChild("Humanoid").Health > 0 then
  127. if SilentAim then
  128. local ShootThis = Target[Options.Torso]
  129. local Predicted_Position = ShootThis.CFrame + (ShootThis.Velocity * getgenv().Prediction + Vector3.new(0,-.5,0))
  130. return ((Index == "Hit" and Predicted_Position))
  131. end
  132. end
  133. end
  134. end
  135. return oldIndex(self, Index)
  136. end)
  137.  
  138.  
  139. Fake macro:
  140.  
  141. loadstring(game:HttpGet("https://pastebin.com/raw/QW5Whap9"))()
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement