Facebook
From w, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 64
  1. local Aiming = loadstring(game:HttpGet("https://pastebin.pl/view/raw/15a734e6"))()
  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.     AimLock = false,
  16.     Prediction = 0.102421,
  17.     AimLockKeybind = Enum.KeyCode.E
  18. }
  19. getgenv().DaHoodSettings = DaHoodSettings
  20.  
  21. function Aiming.Check()
  22.     if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  23.         return false
  24.     end
  25.  
  26.     local Character = Aiming.Character(Aiming.Selected)
  27.     local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  28.     local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  29.  
  30.     if (KOd or Grabbed) then
  31.         return false
  32.     end
  33.  
  34.     return true
  35. end
  36.  
  37. local __index
  38. __index = hookmetamethod(game, "__index", function(t, k)
  39.     if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  40.         local SelectedPart = Aiming.SelectedPart
  41.  
  42.         if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  43.             local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  44.  
  45.             return (k == "Hit" and Hit or SelectedPart)
  46.         end
  47.     end
  48.  
  49.     return __index(t, k)
  50. end)
  51.  
  52. RunService:BindToRenderStep("AimLock", 0, function()
  53.     if (DaHoodSettings.AimLock and Aiming.Check() and UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
  54.         local SelectedPart = Aiming.SelectedPart
  55.  
  56.         local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  57.  
  58.         CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  59.     end
  60.     end)
  61.  
  62.     local cframeSpheedhotkeyXd1 = "l" -- toggle key
  63.     local mouse = game.Players.LocalPlayer:GetMouse()
  64.    
  65.    
  66.    
  67.     mouse.KeyDown:Connect(function(value)
  68.     if value == cframeSpheedhotkeyXd1 then
  69.     if DaHoodSettings.SilentAim == true then
  70.         DaHoodSettings.SilentAim = false
  71.     else
  72.         DaHoodSettings.SilentAim = true
  73.     end
  74.     end
  75.     end)