Advertisement
vtrvsted

streets streamable

Dec 5th, 2022
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.99 KB | None | 0 0
  1. --gay private silent aim V2
  2. local Aiming = loadstring(game:HttpGet("https://pastebin.com/raw/3UzYTsPL"))()
  3. Aiming.TeamCheck(false)
  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. local LocalPlayer = Players.LocalPlayer
  11. local Mouse = LocalPlayer:GetMouse()
  12. local CurrentCamera = Workspace.CurrentCamera
  13.  
  14. local DaHoodSettings = {
  15.     SilentAim = true,
  16.     AimLock = false,
  17.     Prediction = 0.132,
  18.     AimLockKeybind = Enum.KeyCode.E
  19. }
  20. getgenv().DaHoodSettings = DaHoodSettings
  21.  
  22. function Aiming.Check()
  23.     if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  24.         return false
  25.     end
  26.  
  27.     local Character = Aiming.Character(Aiming.Selected)
  28.     local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  29.     local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  30.  
  31.     if (KOd or Grabbed) then
  32.         return false
  33.     end
  34.  
  35.     return true
  36. end
  37.  
  38. local __index
  39. __index = hookmetamethod(game, "__index", function(t, k)
  40.     if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  41.         local SelectedPart = Aiming.SelectedPart
  42.  
  43.         if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  44.             local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  45.  
  46.             return (k == "Hit" and Hit or SelectedPart)
  47.         end
  48.     end
  49.  
  50.     return __index(t, k)
  51. end)
  52.  
  53. RunService:BindToRenderStep("AimLock", 0, function()
  54.     if (DaHoodSettings.AimLock and Aiming.Check() and UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
  55.         local SelectedPart = Aiming.SelectedPart
  56.  
  57.         local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  58.  
  59.         CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  60.     end
  61.     end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement