vtrvsted

streamable op

Mar 1st, 2023
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.95 KB | None | 0 0
  1. local Aiming = loadstring(game:HttpGet("https://raw.githubusercontent.com/howyougetcracked/speed/main/silent"))()
  2. Aiming.TeamCheck(false)
  3.  
  4. local Workspace = game:GetService("Workspace")
  5. local Players = game:GetService("Players")
  6. local RunService = game:GetService("RunService")
  7. local UserInputService = game:GetService("UserInputService")
  8.  
  9. local LocalPlayer = Players.LocalPlayer
  10. local Mouse = LocalPlayer:GetMouse()
  11. local CurrentCamera = Workspace.CurrentCamera
  12.  
  13. local DaHoodSettings = {
  14.     SilentAim = true,
  15.     Prediction = 0.157,
  16.    
  17. }
  18. getgenv().DaHoodSettings = DaHoodSettings
  19.  
  20. function Aiming.Check()
  21.     if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  22.         return false
  23.     end
  24.  
  25.     local Character = Aiming.Character(Aiming.Selected)
  26.     local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  27.     local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  28.  
  29.     if (KOd or Grabbed) then
  30.         return false
  31.     end
  32.  
  33.     return true
  34. end
  35.  
  36. local __index
  37. __index = hookmetamethod(game, "__index", function(t, k)
  38.     if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  39.         local SelectedPart = Aiming.SelectedPart
  40.  
  41.         if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  42.             local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  43.  
  44.             return (k == "Hit" and Hit or SelectedPart)
  45.         end
  46.     end
  47.  
  48.     return __index(t, k)
  49. end)
  50.  
  51. RunService:BindToRenderStep("AimLock", 0, function()
  52.     if (DaHoodSettings.AimLock and Aiming.Check() and UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
  53.         local SelectedPart = Aiming.SelectedPart
  54.  
  55.         local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  56.  
  57.         CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  58.     end
  59.     end)
Add Comment
Please, Sign In to add comment