Advertisement
Guest User

Streamable Silent Aim Da Hood

a guest
Oct 25th, 2022
5,733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. --IF THE SCRIPT DOESN'T WORK CHECK https://silentaim-by-hyter.mailchimpsites.com/
  2. --FULLY STREAMABLE SILENT AIM
  3. --DISCORD https://discord.gg/djJcY5H2
  4.  
  5. -- // Dependencies
  6. local Aiming = loadstring(game:HttpGet("https://pastebin.com/raw/fKyW0Wfx"))()
  7. Aiming.TeamCheck(false)
  8.  
  9. -- // Services
  10. local Workspace = game:GetService("Workspace")
  11. local Players = game:GetService("Players")
  12. local RunService = game:GetService("RunService")
  13. local UserInputService = game:GetService("UserInputService")
  14.  
  15. -- // Vars
  16. local LocalPlayer = Players.LocalPlayer
  17. local Mouse = LocalPlayer:GetMouse()
  18. local CurrentCamera = Workspace.CurrentCamera
  19.  
  20. local DaHoodSettings = {
  21. SilentAim = true,
  22. AimLock = true,
  23. Prediction = 0.165,
  24. AimLockKeybind = Enum.KeyCode.E
  25. }
  26. getgenv().DaHoodSettings = DaHoodSettings
  27.  
  28. -- // Overwrite to account downed
  29. function Aiming.Check()
  30. -- // Check A
  31. if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  32. return false
  33. end
  34.  
  35. -- // Check if downed
  36. local Character = Aiming.Character(Aiming.Selected)
  37. local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  38. local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  39.  
  40. -- // Check B
  41. if (KOd or Grabbed) then
  42. return false
  43. end
  44.  
  45. -- //
  46. return true
  47. end
  48.  
  49. -- // Hook
  50. local __index
  51. __index = hookmetamethod(game, "__index", function(t, k)
  52. -- // Check if it trying to get our mouse's hit or target and see if we can use it
  53. if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  54. -- // Vars
  55. local SelectedPart = Aiming.SelectedPart
  56.  
  57. -- // Hit/Target
  58. if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  59. -- // Hit to account prediction
  60. local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  61.  
  62. -- // Return modded val
  63. return (k == "Hit" and Hit or SelectedPart)
  64. end
  65. end
  66.  
  67. -- // Return
  68. return __index(t, k)
  69. end)
  70.  
  71. -- // Aimlock
  72. RunService:BindToRenderStep("AimLock", 0, function()
  73. if (DaHoodSettings.AimLock and Aiming.Check() and UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
  74. -- // Vars
  75. local SelectedPart = Aiming.SelectedPart
  76.  
  77. -- // Hit to account prediction
  78. local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  79.  
  80. -- // Set the camera to face towards the Hit
  81. CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  82. end
  83. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement