guapo80a

AIM LOCK DA HOOD

May 18th, 2024 (edited)
4,576
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.06 KB | Gaming | 1 0
  1. script da hood aim lock :
  2.  
  3. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Mapple7777/UI-Librarys/main/UI-1/UI.lua"))()
  4.  
  5.  
  6. local Window = Library:Create("TokwaWare","Da hood")
  7. local Tab1 = Window:Tab("Aimlocks",true)
  8.  
  9. Tab1:Label("Aimlock")
  10.  
  11. Tab1:Button("Tofu's Aimlock",function(bool)
  12. getgenv().AimPart = "HumanoidRootPart"
  13. getgenv().AimlockKey = "q"
  14. getgenv().AimRadius = 30
  15. getgenv().ThirdPerson = true
  16. getgenv().FirstPerson = true
  17. getgenv().TeamCheck = false
  18. getgenv().PredictMovement = true
  19. getgenv().PredictionVelocity = 6
  20. local L_27_, L_28_, L_29_, L_30_ =
  21. game:GetService "Players",
  22. game:GetService "UserInputService",
  23. game:GetService "RunService",
  24. game:GetService "StarterGui"
  25. local L_31_, L_32_, L_33_, L_34_, L_35_, L_36_, L_37_ =
  26. L_27_.LocalPlayer,
  27. L_27_.LocalPlayer:GetMouse(),
  28. workspace.CurrentCamera,
  29. CFrame.new,
  30. Ray.new,
  31. Vector3.new,
  32. Vector2.new
  33. local L_38_, L_39_, L_40_ = true, false, false
  34. local L_41_
  35. getgenv().CiazwareUniversalAimbotLoaded = true
  36. getgenv().WorldToViewportPoint = function(L_42_arg0)
  37. return L_33_:WorldToViewportPoint(L_42_arg0)
  38. end
  39. getgenv().WorldToScreenPoint = function(L_43_arg0)
  40. return L_33_.WorldToScreenPoint(L_33_, L_43_arg0)
  41. end
  42. getgenv().GetObscuringObjects = function(L_44_arg0)
  43. if L_44_arg0 and L_44_arg0:FindFirstChild(getgenv().AimPart) and L_31_ and L_31_.Character:FindFirstChild("Head") then
  44. local L_45_ = workspace:FindPartOnRay(L_35_(L_44_arg0[getgenv().AimPart].Position, L_31_.Character.Head.Position))
  45. if L_45_ then
  46. return L_45_:IsDescendantOf(L_44_arg0)
  47. end
  48. end
  49. end
  50. getgenv().GetNearestTarget = function()
  51. local L_46_ = {}
  52. local L_47_ = {}
  53. local L_48_ = {}
  54. for L_50_forvar0, L_51_forvar1 in pairs(L_27_:GetPlayers()) do
  55. if L_51_forvar1 ~= L_31_ then
  56. table.insert(L_46_, L_51_forvar1)
  57. end
  58. end
  59. for L_52_forvar0, L_53_forvar1 in pairs(L_46_) do
  60. if L_53_forvar1.Character ~= nil then
  61. local L_54_ = L_53_forvar1.Character:FindFirstChild("Head")
  62. if getgenv().TeamCheck == true and L_53_forvar1.Team ~= L_31_.Team then
  63. local L_55_ =
  64. (L_53_forvar1.Character:FindFirstChild("Head").Position - game.Workspace.CurrentCamera.CFrame.p).magnitude
  65. local L_56_ =
  66. Ray.new(
  67. game.Workspace.CurrentCamera.CFrame.p,
  68. (L_32_.Hit.p - game.Workspace.CurrentCamera.CFrame.p).unit * L_55_
  69. )
  70. local L_57_, L_58_ = game.Workspace:FindPartOnRay(L_56_, game.Workspace)
  71. local L_59_ = math.floor((L_58_ - L_54_.Position).magnitude)
  72. L_47_[L_53_forvar1.Name .. L_52_forvar0] = {}
  73. L_47_[L_53_forvar1.Name .. L_52_forvar0].dist = L_55_
  74. L_47_[L_53_forvar1.Name .. L_52_forvar0].plr = L_53_forvar1
  75. L_47_[L_53_forvar1.Name .. L_52_forvar0].diff = L_59_
  76. table.insert(L_48_, L_59_)
  77. elseif getgenv().TeamCheck == false and L_53_forvar1.Team == L_31_.Team then
  78. local L_60_ =
  79. (L_53_forvar1.Character:FindFirstChild("Head").Position - game.Workspace.CurrentCamera.CFrame.p).magnitude
  80. local L_61_ =
  81. Ray.new(
  82. game.Workspace.CurrentCamera.CFrame.p,
  83. (L_32_.Hit.p - game.Workspace.CurrentCamera.CFrame.p).unit * L_60_
  84. )
  85. local L_62_, L_63_ = game.Workspace:FindPartOnRay(L_61_, game.Workspace)
  86. local L_64_ = math.floor((L_63_ - L_54_.Position).magnitude)
  87. L_47_[L_53_forvar1.Name .. L_52_forvar0] = {}
  88. L_47_[L_53_forvar1.Name .. L_52_forvar0].dist = L_60_
  89. L_47_[L_53_forvar1.Name .. L_52_forvar0].plr = L_53_forvar1
  90. L_47_[L_53_forvar1.Name .. L_52_forvar0].diff = L_64_
  91. table.insert(L_48_, L_64_)
  92. end
  93. end
  94. end
  95. if unpack(L_48_) == nil then
  96. return nil
  97. end
  98. local L_49_ = math.floor(math.min(unpack(L_48_)))
  99. if L_49_ > getgenv().AimRadius then
  100. return nil
  101. end
  102. for L_65_forvar0, L_66_forvar1 in pairs(L_47_) do
  103. if L_66_forvar1.diff == L_49_ then
  104. return L_66_forvar1.plr
  105. end
  106. end
  107. return nil
  108. end
  109. L_32_.KeyDown:Connect(
  110. function(L_67_arg0)
  111. if L_67_arg0 == AimlockKey and L_41_ == nil then
  112. pcall(
  113. function()
  114. if L_39_ ~= true then
  115. L_39_ = true
  116. end
  117. local L_68_
  118. L_68_ = GetNearestTarget()
  119. if L_68_ ~= nil then
  120. L_41_ = L_68_
  121. end
  122. end
  123. )
  124. elseif L_67_arg0 == AimlockKey and L_41_ ~= nil then
  125. if L_41_ ~= nil then
  126. L_41_ = nil
  127. end
  128. if L_39_ ~= false then
  129. L_39_ = false
  130. end
  131. end
  132. end
  133. )
  134. L_29_.RenderStepped:Connect(
  135. function()
  136. if getgenv().ThirdPerson == true and getgenv().FirstPerson == true then
  137. if
  138. (L_33_.Focus.p - L_33_.CoordinateFrame.p).Magnitude > 1 or
  139. (L_33_.Focus.p - L_33_.CoordinateFrame.p).Magnitude <= 1
  140. then
  141. L_40_ = true
  142. else
  143. L_40_ = false
  144. end
  145. elseif getgenv().ThirdPerson == true and getgenv().FirstPerson == false then
  146. if (L_33_.Focus.p - L_33_.CoordinateFrame.p).Magnitude > 1 then
  147. L_40_ = true
  148. else
  149. L_40_ = false
  150. end
  151. elseif getgenv().ThirdPerson == false and getgenv().FirstPerson == true then
  152. if (L_33_.Focus.p - L_33_.CoordinateFrame.p).Magnitude <= 1 then
  153. L_40_ = true
  154. else
  155. L_40_ = false
  156. end
  157. end
  158. if L_38_ == true and L_39_ == true then
  159. if L_41_ and L_41_.Character and L_41_.Character:FindFirstChild(getgenv().AimPart) then
  160. if getgenv().FirstPerson == true then
  161. if L_40_ == true then
  162. if getgenv().PredictMovement == true then
  163. L_33_.CFrame =
  164. L_34_(
  165. L_33_.CFrame.p,
  166. L_41_.Character[getgenv().AimPart].Position +
  167. L_41_.Character[getgenv().AimPart].Velocity / PredictionVelocity
  168. )
  169. elseif getgenv().PredictMovement == false then
  170. L_33_.CFrame = L_34_(L_33_.CFrame.p, L_41_.Character[getgenv().AimPart].Position)
  171. end
  172. end
  173. elseif getgenv().ThirdPerson == true then
  174. if L_40_ == true then
  175. if getgenv().PredictMovement == true then
  176. L_33_.CFrame =
  177. L_34_(
  178. L_33_.CFrame.p,
  179. L_41_.Character[getgenv().AimPart].Position +
  180. L_41_.Character[getgenv().AimPart].Velocity / PredictionVelocity
  181. )
  182. elseif getgenv().PredictMovement == false then
  183. L_33_.CFrame = L_34_(L_33_.CFrame.p, L_41_.Character[getgenv().AimPart].Position)
  184. end
  185. end
  186. end
  187. end
  188. end
  189. end
  190. )
  191. end)
  192.  
  193. Tab1:Textbox("Aimlock Keybind","Q",function(bool)
  194. getgenv().AimlockKey = bool
  195. end)
  196.  
  197. Tab1:Textbox("AimLock Prediction","6",function(bool)
  198. PredictionVelocity = bool
  199. end)
  200.  
  201. Tab1:Dropdown("AimPart",{"Head","HumanoidRootPart","UpperTorso","LowerTorso"},function(value)
  202. getgenv().AimPart = value
  203. end)
  204.  
  205. local Tab2 = Window:Tab("Silent Aim",false)
  206.  
  207. Tab2:Toggle("Toggle Silent Aim",function(bool)
  208. DaHoodSettings.SilentAim = bool
  209. end)
  210.  
  211. Tab2:Toggle("Toggle FOV",function(bool)
  212. Aiming.ShowFOV = bool
  213. end)
  214.  
  215. Tab2:Slider("FOV Size",0,200,function(bool)
  216. Aiming.FOV = bool
  217. end)
  218.  
  219. Tab2:Textbox("Silent Aim Prediction","0.157",function(bool)
  220. DaHoodSettings.Prediction = bool
  221. end)
  222.  
  223. Tab2:Dropdown("Silent Aim Part",{"Head","HumanoidRootPart","UpperTorso","LowerTorso"},function(value)
  224. Aiming.AimPart = value
  225. end)
  226.  
  227. local Tab3 = Window:Tab("Player",false)
  228.  
  229. Tab3:Label("Player Scripts")
  230.  
  231. game.StarterGui:SetCore("SendNotification", {
  232. Title = "TokwaWare";
  233. Text = "Welcome";
  234. Icon = "RBXID OR BLANK";
  235. Duration = "DURATION IN SECONDS";
  236. callbakc = bindableFunction;
  237. Button1 = "Okay";
  238. })
  239.  
  240. Tab3:Button("Realistic Speed Glitch (V)",function(bool)
  241. local Player = game:GetService("Players").LocalPlayer
  242. local Mouse = Player:GetMouse()
  243. local SpeedGlitch = false
  244. local Wallet = Player.Backpack:FindFirstChild("Wallet")
  245.  
  246. local UniversalAnimation = Instance.new("Animation")
  247.  
  248. function stopTracks()
  249. for _, v in next, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):GetPlayingAnimationTracks() do
  250. if (v.Animation.AnimationId:match("rbxassetid")) then
  251. v:Stop()
  252. end
  253. end
  254. end
  255.  
  256. function loadAnimation(id)
  257. if UniversalAnimation.AnimationId == id then
  258. stopTracks()
  259. UniversalAnimation.AnimationId = "1"
  260. else
  261. UniversalAnimation.AnimationId = id
  262. local animationTrack = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):LoadAnimation(UniversalAnimation)
  263. animationTrack:Play()
  264. end
  265. end
  266.  
  267. Mouse.KeyDown:Connect(function(Key)
  268. if Key == "v" then
  269. SpeedGlitch = not SpeedGlitch
  270. if SpeedGlitch == true then
  271. stopTracks()
  272. loadAnimation("rbxassetid://3189777795")
  273. wait(1.5)
  274. Wallet.Parent = Player.Character
  275. wait(0.15)
  276. Player.Character:FindFirstChild("Wallet").Parent = Player.Backpack
  277. wait(0.05)
  278. repeat game:GetService("RunService").Heartbeat:wait()
  279. keypress(0x49)
  280. game:GetService("RunService").Heartbeat:wait()
  281. keypress(0x4F)
  282. game:GetService("RunService").Heartbeat:wait()
  283. keyrelease(0x49)
  284. game:GetService("RunService").Heartbeat:wait()
  285. keyrelease(0x4F)
  286. game:GetService("RunService").Heartbeat:wait()
  287. until SpeedGlitch == false
  288. end
  289. end
  290. end)
  291. end)
  292.  
  293. Tab3:Button("FLY (X)",function(bool)
  294. loadstring(game:HttpGet("https://pastebin.com/raw/sUA9m6M6"))()
  295. end)
  296.  
  297. Tab3:Slider("Fov Camera",80,200,function(text)
  298. workspace.CurrentCamera.FieldOfView = (text)
  299. end)
  300.  
  301. Tab3:Button("Tryhard Anims",function(bool)
  302. while true do
  303. wait(1)
  304. for i, player in ipairs(game.Players:GetChildren()) do
  305. local Animate = game.Players.LocalPlayer.Character.Animate
  306. Animate.idle.Animation1.AnimationId = "http://www.roblox.com/asset/?id=782841498"
  307. Animate.idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=782841498"
  308. Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=616168032"
  309. Animate.run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=616163682"
  310. Animate.jump.JumpAnim.AnimationId = "http://www.roblox.com/asset/?id=1083218792"
  311. Animate.climb.ClimbAnim.AnimationId = "http://www.roblox.com/asset/?id=1083439238"
  312. Animate.fall.FallAnim.AnimationId = "http://www.roblox.com/asset/?id=707829716"
  313. game.Players.LocalPlayer.Character.Humanoid.Jump = false
  314. end
  315. end
  316. end)
  317.  
  318. Tab3:Button("Headless Client Sided",function(bool)
  319. getgenv().game.Players.LocalPlayer.Character.Head.Transparency = 1
  320. getgenv().game.Players.LocalPlayer.Character.Head.face:Destroy()
  321. getgenv().game.Players.LocalPlayer.Character.Head.face:Destroy()
  322. end)
  323.  
  324. Tab3:Button("Korblox Client Sided",function(bool)
  325. local ply = game.Players.LocalPlayer
  326. local chr = ply.Character
  327. chr.RightLowerLeg.MeshId = "902942093"
  328. chr.RightLowerLeg.Transparency = "1"
  329. chr.RightUpperLeg.MeshId = "http://www.roblox.com/asset/?id=902942096"
  330. chr.RightUpperLeg.TextureID = "http://roblox.com/asset/?id=902843398"
  331. chr.RightFoot.MeshId = "902942089"
  332. chr.RightFoot.Transparency = "1"
  333. end)
  334.  
  335. Tab3:Button("Trash Talk (J)",function(bool)
  336. local plr = game.Players.LocalPlayer
  337. repeat wait() until plr.Character
  338. local char = plr.Character
  339.  
  340. local garbage = {
  341. "ur bad";
  342. "sonney boy";
  343. "ez";
  344. "my grandma has more skill than you";
  345. "seed";
  346. "sit son";
  347. "trash";
  348. "LOL";
  349. "LMAO";
  350. "imagine being you right now";
  351. "xd";
  352. "don't try LOL";
  353. "you lose";
  354. "why do you even try";
  355. "I didn't think being this bad was possible";
  356. "leave";
  357. "no skill";
  358. "so sad man.";
  359. "bad";
  360. "you're nothing";
  361. "lol";
  362. "so trash";
  363. "so bad";
  364. "ur salty";
  365. "salty";
  366. "look he's mad";
  367. "cry more";
  368. "keep crying";
  369. "cry baby";
  370. "hahaha I won";
  371. "no one likes u";
  372. "run 1s seed";
  373. "thank you for your time";
  374. "you were so close!";
  375. "better luck next time!";
  376. "rodent";
  377. "HAHA";
  378. "ill 5-0";
  379. "just quit";
  380. "time to take out the trash";
  381. "did you get worse?";
  382. "I'm surprised you haven't quit yet";
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394. }
  395.  
  396.  
  397. function TrashTalk(inputObject, gameProcessedEvent)
  398. if inputObject.KeyCode == Enum.KeyCode.J and gameProcessedEvent == false then
  399. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(
  400. garbage[math.random(1,#garbage)],
  401. "All"
  402. )
  403. end
  404. end
  405.  
  406. game:GetService("UserInputService").InputBegan:connect(TrashTalk)
  407. end)
  408.  
  409. local Tab4 = Window:Tab("Anti-Lock",false)
  410.  
  411. Tab4:Label("Anti-Lock")
  412.  
  413. Tab4:Button("FIX ANTILOCK",function(bool)
  414.  
  415. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  416. if v:IsA("Script") and v.Name ~= "Health" and v.Name ~= "Sound" and v:FindFirstChild("LocalScript") then
  417. v:Destroy()
  418. end
  419. end
  420. game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
  421. repeat
  422. wait()
  423. until game.Players.LocalPlayer.Character
  424. char.ChildAdded:Connect(function(child)
  425. if child:IsA("Script") then
  426. wait(0.1)
  427. if child:FindFirstChild("LocalScript") then
  428. child.LocalScript:FireServer()
  429. end
  430. end
  431. end)
  432. end)
  433.  
  434. end)
  435.  
  436. local glitch = false
  437. local clicker = false
  438.  
  439. Tab4:Textbox("AntiLock (use -0.10 to -0.60)","Speed",function(a)
  440.  
  441. getgenv().Multiplier = a
  442.  
  443. end, {
  444. ["clear"] = false,
  445. })
  446.  
  447. Tab4:Button("Antilock Improved (Z)",function(bool)
  448. local userInput = game:service('UserInputService')
  449. local runService = game:service('RunService')
  450.  
  451. userInput.InputBegan:connect(function(Key)
  452. if Key.KeyCode == Enum.KeyCode.Z then
  453. Enabled = not Enabled
  454. if Enabled == true then
  455. repeat
  456. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.Humanoid.MoveDirection * getgenv().Multiplier
  457. runService.Stepped:wait()
  458. until Enabled == false
  459. end
  460. end
  461. end)
  462. end)
  463.  
  464. local Tab5 = Window:Tab("Teleports",false)
  465.  
  466. Tab5:Label("Teleports")
  467.  
  468. Tab5:Button("Double Barrel",function(value)
  469. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1039.59985, 18.8513641, -256.449951, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  470. end)
  471.  
  472. Tab5:Button("Revolver",function(value)
  473. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-638.75, 18.8500004, -118.175011, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  474. end)
  475.  
  476. Tab5:Button("Shotgun",function(value)
  477. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-578.623657, 5.47212696, -725.131531, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  478. end)
  479.  
  480. Tab5:Button("Tactical Shotgun",function(value)
  481. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(470.877533, 45.1272316, -620.630676, 0.999999821, 0.000604254019, -2.60802135e-08, -0.000604254019, 0.999999821, -8.63220048e-05, -2.60802135e-08, 8.63220048e-05, 1)
  482. end)
  483.  
  484. Tab5:Button("Smg",function(value)
  485. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-577.123413, 5.47666788, -718.031433, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  486. end)
  487.  
  488. Tab5:Button("RPG",function(value)
  489. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-794.814697, -42.5468521, -932.97998, 5.96046448e-08, 2.91038305e-11, 1, -0.000610388815, 0.999999821, 2.91038305e-11, -0.999999762, -0.000610388815, 5.96046448e-08)
  490. end)
  491.  
  492. Tab5:Button("Armor",function(value)
  493. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-607.978455, 7.44964886, -788.494263, -1.1920929e-07, 0, 1.00000012, 0, 1, 0, -1.00000012, 0, -1.1920929e-07)
  494. end)
  495.  
  496. Tab5:Button("PopCorn",function(value)
  497. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-995, 21.6998043, -153.100037, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  498. end)
  499.  
  500. Tab5:Button("Casino 1v1",function(value)
  501. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-962.72345, 21.2549973, -186.814987, -0.0274876002, 2.91178949e-05, 0.999621451, -5.5798846e-06, 1, -2.92823333e-05, -0.999621451, -6.38268148e-06, -0.0274876002)
  502. end)
  503.  
  504. Tab5:Button("Bank",function(value)
  505. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-402.123718, 21.75, -283.988617, 0.0159681588, -0.000121377925, -0.999872446, -2.60148026e-05, 1, -0.000121808866, 0.999872506, 2.79565484e-05, 0.0159681737)
  506. end)
  507.  
  508. Tab5:Button("Main Food",function(value)
  509. getgenv().game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-338.352173, 23.6826477, -297.2146, -0.0060598203, -1.03402984e-08, -0.999981582, -1.61653102e-09, 1, -1.03306892e-08, 0.999981582, 1.55389912e-09, -0.0060598203)
  510. end)
  511.  
  512. local Tab6 = Window:Tab("Keybind",false)
  513.  
  514. Tab6:Label("Keybind")
  515.  
  516. Tab6:Keybind("Toggle",Enum.KeyCode.V,function()
  517. Library:Toggle()
  518. end)
  519.  
  520. local Tab7 = Window:Tab("Credits",false)
  521.  
  522. Tab7:Label("kermetthefrog#2591,rsalinq#4098")
  523.  
  524. local Aiming = loadstring(game:HttpGet("https://pastebin.com/raw/vsVecTqs"))()
  525. Aiming.TeamCheck(false)
  526.  
  527. local Workspace = game:GetService("Workspace")
  528. local Players = game:GetService("Players")
  529. local RunService = game:GetService("RunService")
  530. local UserInputService = game:GetService("UserInputService")
  531.  
  532. local LocalPlayer = Players.LocalPlayer
  533. local Mouse = LocalPlayer:GetMouse()
  534. local CurrentCamera = Workspace.CurrentCamera
  535.  
  536. local DaHoodSettings = {
  537. SilentAim = false,
  538. AimLock = false,
  539. Prediction = 0.157,
  540. AimLockKeybind = Enum.KeyCode.E
  541. }
  542. getgenv().DaHoodSettings = DaHoodSettings
  543.  
  544. function Aiming.Check()
  545. if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  546. return false
  547. end
  548.  
  549. local Character = Aiming.Character(Aiming.Selected)
  550. local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  551. local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  552.  
  553. if (KOd or Grabbed) then
  554. return false
  555. end
  556.  
  557. return true
  558. end
  559.  
  560. local __index
  561. __index = hookmetamethod(game, "__index", function(t, k)
  562. if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  563. local SelectedPart = Aiming.SelectedPart
  564.  
  565. if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  566. local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  567.  
  568. return (k == "Hit" and Hit or SelectedPart)
  569. end
  570. end
  571.  
  572. return __index(t, k)
  573. end)
  574.  
  575. RunService:BindToRenderStep("AimLock", 0, function()
  576. if (DaHoodSettings.AimLock and Aiming.Check() and UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
  577. local SelectedPart = Aiming.SelectedPart
  578.  
  579. local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  580.  
  581. CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  582. end
  583. end)
  584.  
Tags: Roblox Scripts
Advertisement
Add Comment
Please, Sign In to add comment