Advertisement
sos1a

Da hood Modded Aimlock Script

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