Advertisement
C-H-4-0-S

Da hood Silent aim

Jun 10th, 2024
1,479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. getgenv().Prediction = ( .18 ) -- [ PREDICTION: Lower Prediction: Lower Ping | Higher Prediction: Higher Ping ]
  2. getgenv().FOV = ( 200 ) -- [ FOV RADIUS: Increases Or Decreases FOV Radius ]
  3. getgenv().AimKey = ( "q" ) -- [ TOGGLE KEY: Toggles Silent Aim On And Off ]
  4. getgenv().DontShootThesePeople = { -- [ WHITELIST: List Of Who NOT To Shoot, edit like this. "Contain quotations with their name and then a semi-colon afterwards for each line" ; ]
  5.  
  6. "AimLockPsycho";
  7. "JakeTheMiddleMan";
  8.  
  9. }
  10.  
  11. --[[
  12. Do Not Edit Anything Beyond This Point.
  13. ]]
  14.  
  15. local SilentAim = true
  16. local LocalPlayer = game:GetService("Players").LocalPlayer
  17. local Players = game:GetService("Players")
  18. local Mouse = LocalPlayer:GetMouse()
  19. local Camera = game:GetService("Workspace").CurrentCamera
  20. local connections = getconnections(game:GetService("LogService").MessageOut)
  21. for _, v in ipairs(connections) do
  22. v:Disable()
  23. end
  24.  
  25. getrawmetatable = getrawmetatable
  26. setreadonly = setreadonly
  27. getconnections = getconnections
  28. hookmetamethod = hookmetamethod
  29. getgenv = getgenv
  30. Drawing = Drawing
  31.  
  32. local FOV_CIRCLE = Drawing.new("Circle")
  33. FOV_CIRCLE.Visible = true
  34. FOV_CIRCLE.Filled = false
  35. FOV_CIRCLE.Thickness = 1
  36. FOV_CIRCLE.Transparency = 1
  37. FOV_CIRCLE.Color = Color3.new(0, 1, 0)
  38. FOV_CIRCLE.Radius = getgenv().FOV
  39. FOV_CIRCLE.Position = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  40.  
  41. Options = {
  42. Torso = "HumanoidRootPart";
  43. Head = "Head";
  44. }
  45.  
  46. local function MoveFovCircle()
  47. pcall(function()
  48. local DoIt = true
  49. spawn(function()
  50. while DoIt do task.wait()
  51. FOV_CIRCLE.Position = Vector2.new(Mouse.X, (Mouse.Y + 36))
  52. end
  53. end)
  54. end)
  55. end coroutine.wrap(MoveFovCircle)()
  56.  
  57. local function RainbowEffect()
  58. local hue = 0
  59. while true do
  60. hue = hue + 0.01
  61. if hue > 1 then
  62. hue = 0
  63. end
  64. FOV_CIRCLE.Color = Color3.fromHSV(hue, 1, 1)
  65. wait(0.1)
  66. end
  67. end
  68.  
  69. coroutine.wrap(RainbowEffect)()
  70.  
  71. Mouse.KeyDown:Connect(function(KeyPressed)
  72. if KeyPressed == (getgenv().AimKey:lower()) then
  73. if SilentAim == false then
  74. SilentAim = true
  75. elseif SilentAim == true then
  76. SilentAim = false
  77. end
  78. end
  79. end)
  80.  
  81. Mouse.KeyDown:Connect(function(Rejoin)
  82. if Rejoin == "=" then
  83. local LocalPlayer = game:GetService("Players").LocalPlayer
  84. game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer)
  85. end
  86. end)
  87.  
  88. local oldIndex = nil
  89. oldIndex = hookmetamethod(game, "__index", function(self, Index, Screw)
  90. local Screw = oldIndex(self, Index)
  91. local kalk = Mouse
  92. local cc = "hit"
  93. local gboost = cc
  94. if self == kalk and (Index:lower() == gboost) then
  95. local Distance = 9e9
  96. local Target = nil
  97. local Players = game:GetService("Players")
  98. local LocalPlayer = game:GetService("Players").LocalPlayer
  99. local Camera = game:GetService("Workspace").CurrentCamera
  100. for _, v in pairs(Players:GetPlayers()) do
  101. if not table.find(getgenv().DontShootThesePeople, v.Name) then
  102. if v ~= LocalPlayer and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Humanoid") and v.Character:FindFirstChild("Humanoid").Health > 0 then
  103. local Enemy = v.Character
  104. local CastingFrom = CFrame.new(Camera.CFrame.Position, Enemy[Options.Torso].CFrame.Position) * CFrame.new(0, 0, -4)
  105. local RayCast = Ray.new(CastingFrom.Position, CastingFrom.LookVector * 9000)
  106. local World, ToSpace = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(RayCast, {LocalPlayer.Character:FindFirstChild("Head")})
  107. local RootWorld = (Enemy[Options.Torso].CFrame.Position - ToSpace).magnitude
  108. if RootWorld < 4 then
  109. local RootPartPosition, Visible = Camera:WorldToScreenPoint(Enemy[Options.Torso].Position)
  110. if Visible then
  111. local Real_Magnitude = (Vector2.new(Mouse.X, Mouse.Y) - Vector2.new(RootPartPosition.X, RootPartPosition.Y)).Magnitude
  112. if Real_Magnitude < Distance and Real_Magnitude < FOV_CIRCLE.Radius then
  113. Distance = Real_Magnitude
  114. Target = Enemy
  115. end
  116. end
  117. end
  118. end
  119. end
  120. end
  121.  
  122. if Target ~= nil and Target[Options.Torso] and Target:FindFirstChild("Humanoid") and Target:FindFirstChild("Humanoid").Health > 0 then
  123. local Madox = Target[Options.Torso]
  124. local Formulate = Madox.CFrame + (Madox.AssemblyLinearVelocity * getgenv().Prediction + Vector3.new(0,-1,0))
  125. return (Index:lower() == gboost and Formulate)
  126. end
  127. return Screw
  128. end
  129. return oldIndex(self, Index, Screw)
  130. end)
  131.  
  132. local FillColor = Color3.fromRGB(175,25,255)
  133. local DepthMode = "AlwaysOnTop"
  134. local FillTransparency = 0.5
  135. local OutlineColor = Color3.fromRGB(255,255,255)
  136. local OutlineTransparency = 0
  137.  
  138. local CoreGui = game:FindService("CoreGui")
  139. local Players = game:FindService("Players")
  140. local lp = Players.LocalPlayer
  141. local connections = {}
  142.  
  143. local Storage = Instance.new("Folder")
  144. Storage.Parent = CoreGui
  145. Storage.Name = "Highlight_Storage"
  146.  
  147. local function Highlight(plr)
  148. local Highlight = Instance.new("Highlight")
  149. Highlight.Name = plr.Name
  150. Highlight.FillColor = FillColor
  151. Highlight.DepthMode = DepthMode
  152. Highlight.FillTransparency = FillTransparency
  153. Highlight.OutlineColor = OutlineColor
  154. Highlight.OutlineTransparency = 0
  155. Highlight.Parent = Storage
  156.  
  157. local plrchar = plr.Character
  158. if plrchar then
  159. Highlight.Adornee = plrchar
  160. end
  161.  
  162. connections[plr] = plr.CharacterAdded:Connect(function(char)
  163. Highlight.Adornee = char
  164. end)
  165. end
  166.  
  167. Players.PlayerAdded:Connect(Highlight)
  168. for i,v in next, Players:GetPlayers() do
  169. Highlight(v)
  170. end
  171.  
  172. Players.PlayerRemoving:Connect(function(plr)
  173. local plrname = plr.Name
  174. if Storage[plrname] then
  175. Storage[plrname]:Destroy()
  176. end
  177. if connections[plr] then
  178. connections[plr]:Disconnect()
  179. end
  180. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement