R

silent aim kustoms hood

public
rrixh Mar 10, 2024 Never 92
Clone
Plaintext silentaim-hoodkustoms 109 lines (86 loc) | 3.24 KB
1
-- // Dependencies
2
_G.PRED = 0.025
3
local Aiming = loadstring(game:HttpGet("https://raw.githubusercontent.com/Ezucii/new/main/sourceeeeeeeeeeeeee.lua"))()
4
Aiming.TeamCheck(false)
5
Aiming.ShowFOV = true
6
Aiming.FOV = 74.7
7
-- // Services
8
local Workspace = game:GetService("Workspace")
9
local Players = game:GetService("Players")
10
local RunService = game:GetService("RunService")
11
local UserInputService = game:GetService("UserInputService")
12
13
-- // Vars
14
local LocalPlayer = Players.LocalPlayer
15
local Mouse = LocalPlayer:GetMouse()
16
local CurrentCamera = Workspace.CurrentCamera
17
18
local DaHoodSettings = {
19
SilentAim = true,
20
AimLock = true,
21
Prediction = 0.121,
22
AimLockKeybind = Enum.KeyCode.Q
23
}
24
getgenv().DaHoodSettings = DaHoodSettings
25
26
-- // Overwrite to account downed
27
function Aiming.Check()
28
-- // Check A
29
if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
30
return false
31
end
32
33
-- // Check if downed
34
local Character = Aiming.Character(Aiming.Selected)
35
local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
36
local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
37
38
-- // Check B
39
if (KOd or Grabbed) then
40
return false
41
end
42
43
-- //
44
return true
45
end
46
47
-- // Hook
48
local __index
49
__index = hookmetamethod(game, "__index", function(t, k)
50
-- // Check if it trying to get our mouse's hit or target and see if we can use it
51
if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
52
-- // Vars
53
local SelectedPart = Aiming.SelectedPart
54
55
-- // Hit/Target
56
if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
57
-- // Hit to account prediction
58
local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
59
60
-- // Return modded val
61
return (k == "Hit" and Hit or SelectedPart)
62
end
63
end
64
65
-- // Return
66
return __index(t, k)
67
end)
68
69
local player = game.Players.LocalPlayer
70
local mouse = player:GetMouse()
71
72
mouse.KeyDown:Connect(function(key)
73
if key == "v" then
74
if Aiming.Enabled == false then
75
Aiming.Enabled = true
76
else
77
Aiming.Enabled = false
78
end
79
end
80
end)
81
82
83
RunService.RenderStepped:Connect(function()
84
85
local ping = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
86
local Value = tostring(ping)
87
local pingValue = Value:split(" ")
88
local PingNumber = pingValue[1]
89
90
DaHoodSettings.Prediction = PingNumber / 1000 + _G.PRED
91
92
if Aiming.Character.Humanoid.Jump == true and AimlockTarget.Character.Humanoid.FloorMaterial == Enum.Material.Air then
93
Aiming.TargetPart = "RightFoot"
94
else
95
Aiming.Character:WaitForChild("Humanoid").StateChanged:Connect(function(new)
96
97
if new == Enum.HumanoidStateType.Freefall then
98
Aiming.TargetPart = "RightFoot"
99
else
100
101
Aiming.TargetPart = Aiming.SelectedPart
102
103
end
104
105
end)
106
107
end
108
109
end)