0% found this document useful (0 votes)
64 views3 pages

Silent Aim Streamble

The document contains code for an open-sourced script in the game Da Hood that enables silent aim and aimlock features. It loads the script from an external source, sets up configuration options, and hooks into the game's rendering and input systems to modify mouse hits and lock the camera to the selected enemy player when a key is held.

Uploaded by

ghost32 1234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views3 pages

Silent Aim Streamble

The document contains code for an open-sourced script in the game Da Hood that enables silent aim and aimlock features. It loads the script from an external source, sets up configuration options, and hooks into the game's rendering and input systems to modify mouse hits and lock the camera to the selected enemy player when a key is held.

Uploaded by

ghost32 1234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

-- OPEN SOURCED

-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED
-- OPEN SOURCED -- OPEN SOURCED -- OPEN SOURCED
-- OPEN SOURCED
local Aiming =
loadstring(game:HttpGet("https://pastebin.com/raw/ziB8YGHT", true))()
Aiming.TeamCheck(false)

local Workspace = game:GetService("Workspace")


local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService =
game:GetService("UserInputService")

local LocalPlayer = Players.LocalPlayer


local Mouse = LocalPlayer:GetMouse()
local CurrentCamera = Workspace.CurrentCamera

local DaHoodSettings = {
SilentAim = true,
AimLock = false,
Prediction = 0.14,
AimLockKeybind = Enum.KeyCode.E
}
getgenv().DaHoodSettings = DaHoodSettings

function Aiming.Check()
-------------
if not (Aiming.Enabled == true and Aiming.Selected
~= LocalPlayer and Aiming.SelectedPart ~= nil) then
return false
end

-- // Check if downed
local Character = Aiming.Character(Aiming.Selected)
local KOd = Character:WaitForChild("BodyEffects")
["K.O"].Value
local Grabbed =
Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil

-- // Check B
if (KOd or Grabbed) then
return false
end
-- //
return true
end

-- // Hook
local __index
__index = hookmetamethod(game, "__index", function(t,
k)
-- // Check if it trying to get our mouse's hit or
target and see if we can use it
if (t:IsA("Mouse") and (k == "Hit" or k ==
"Target") and Aiming.Check()) then
local SelectedPart = Aiming.SelectedPart

-- // Hit/Target
if (DaHoodSettings.SilentAim and (k == "Hit" or
k == "Target")) then
-- // Hit to account prediction
local Hit = SelectedPart.CFrame +
(SelectedPart.Velocity * DaHoodSettings.Prediction)

-- // Return modded val


return (k == "Hit" and Hit or SelectedPart)
end
end

-- // Return
return __index(t, k)
end)
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

mouse.KeyDown:Connect(function(key)

if key == "k" then

if DaHoodSettings.SilentAim == false then

DaHoodSettings.SilentAim = true

else

DaHoodSettings.SilentAim = false

end

end

end)
-- // Aimlock
RunService:BindToRenderStep("AimLock", 0, function()
if (DaHoodSettings.AimLock and Aiming.Check() and
UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
-- // Vars
local SelectedPart = Aiming.SelectedPart
-- // Hit to account prediction
local Hit = SelectedPart.CFrame +
(SelectedPart.Velocity * DaHoodSettings.Prediction)

CurrentCamera.CFrame =
CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
end
end)

You might also like