Advertisement
Blox101

Rizzys Priv 1

Aug 31st, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. local Aiming = loadstring(game:HttpGet("https://pastebin.com/raw/CJ8AKd1j", true))()
  2. Aiming.TeamCheck(false)
  3.  
  4.  
  5. local Workspace = game:GetService("Workspace")
  6. local Players = game:GetService("Players")
  7. local RunService = game:GetService("RunService")
  8. local UserInputService = game:GetService("UserInputService")
  9.  
  10.  
  11. local LocalPlayer = Players.LocalPlayer
  12. local Mouse = LocalPlayer:GetMouse()
  13. local CurrentCamera = Workspace.CurrentCamera
  14.  
  15. local DaHoodSettings = {
  16. SilentAim = true,
  17. AimLock = false,
  18. Prediction = 0.14,
  19. AimLockKeybind = Enum.KeyCode.E
  20. }
  21. getgenv().DaHoodSettings = DaHoodSettings
  22.  
  23.  
  24. function Aiming.Check()
  25. -------------
  26. if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  27. return false
  28. end
  29.  
  30. -- // Check if downed
  31. local Character = Aiming.Character(Aiming.Selected)
  32. local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  33. local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  34.  
  35. -- // Check B
  36. if (KOd or Grabbed) then
  37. return false
  38. end
  39.  
  40. -- //
  41. return true
  42. end
  43.  
  44. -- // Hook
  45. local __index
  46. __index = hookmetamethod(game, "__index", function(t, k)
  47. -- // Check if it trying to get our mouse's hit or target and see if we can use it
  48. if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  49. local SelectedPart = Aiming.SelectedPart
  50.  
  51. -- // Hit/Target
  52. if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  53. -- // Hit to account prediction
  54. local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  55.  
  56. -- // Return modded val
  57. return (k == "Hit" and Hit or SelectedPart)
  58. end
  59. end
  60.  
  61. -- // Return
  62. return __index(t, k)
  63. end)
  64. local player = game.Players.LocalPlayer
  65. local mouse = player:GetMouse()
  66.  
  67. mouse.KeyDown:Connect(function(key)
  68.  
  69. if key == "k" then
  70.  
  71.  
  72.  
  73. if DaHoodSettings.SilentAim == false then
  74.  
  75. DaHoodSettings.SilentAim = true
  76.  
  77. else
  78.  
  79. DaHoodSettings.SilentAim = false
  80.  
  81. end
  82.  
  83. end
  84.  
  85.  
  86. end)
  87. -- // Aimlock
  88. RunService:BindToRenderStep("AimLock", 0, function()
  89. if (DaHoodSettings.AimLock and Aiming.Check() and UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
  90. -- // Vars
  91. local SelectedPart = Aiming.SelectedPart
  92.  
  93. -- // Hit to account prediction
  94. local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  95.  
  96. CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  97. end
  98. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement