SkidScripts

Roblox Da Hood Script | Buy Shop | Aimlock | Silent Aim | WalkSpeed

Feb 26th, 2022 (edited)
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Brought To You By SkidScripts--
  2.  
  3. -- Credits to Stefanuk12 for the anticheat bypass (https://v3rmillion.net/member.php?action=profile&uid=553212) --
  4.  
  5.  
  6. local Flags = {
  7.     "CHECKER_1",
  8.     "TeleportDetect",
  9.     "OneMoreTime"
  10. }
  11.  
  12. -- // __namecall hook
  13. local __namecall
  14. __namecall = hookmetamethod(game, "__namecall", function(...)
  15.     -- // Vars
  16.     local args = {...}
  17.     local self = args[1]
  18.     local method = getnamecallmethod()
  19.     local caller = getcallingscript()
  20.  
  21.     -- // See if the game is trying to alert the server
  22.     if (method == "FireServer" and self == MainEvent and tablefind(Flags, args[2])) then
  23.         return
  24.     end
  25.  
  26.     -- // Anti Crash
  27.     if (not checkcaller() and getfenv(2).crash) then
  28.         -- // Hook the crash function to make it not work
  29.         hookfunction(getfenv(2).crash, function()
  30.             warn("Crash Attempt")
  31.         end)
  32.     end
  33.    
  34.     -- //
  35.     return __namecall(...)
  36. end)
  37.  
  38. -- // __index hook
  39. local __index
  40. __index = hookmetamethod(game, "__index", function(t, k)
  41.     -- // Make sure it's trying to get our humanoid's ws/jp
  42.     if (not checkcaller() and t:IsA("Humanoid") and (k == "WalkSpeed" or k == "JumpPower")) then
  43.         -- // Return spoof values
  44.         return SpoofTable[k]
  45.     end
  46.  
  47.     -- //
  48.     return __index(t, k)
  49. end)
  50.  
  51. -- // __newindex hook
  52. local __newindex
  53. __newindex = hookmetamethod(game, "__newindex", function(t, k, v)
  54.     -- // Make sure it's trying to set our humanoid's ws/jp
  55.     if (not checkcaller() and t:IsA("Humanoid") and (k == "WalkSpeed" or k == "JumpPower")) then
  56.         -- // Add values to spoof table
  57.         SpoofTable[k] = v
  58.  
  59.         -- // Disallow the set
  60.         return
  61.     end
  62.    
  63.     -- //
  64.     return __newindex(t, k, v)
  65. end)
  66.  
  67.  
  68.  
  69.  
  70.  
  71. local uis = game:GetService("UserInputService")
  72.  
  73. uis.InputBegan:Connect(function(key)
  74.     if key.KeyCode == Enum.KeyCode.LeftShift then
  75.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 22
  76.     end
  77. end)
  78.  
  79.  
  80. uis.InputEnded:Connect(function(key)
  81.     if key.KeyCode == Enum.KeyCode.LeftShift then
  82.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  83.     end
  84. end)
  85.  
  86.  
  87.  
  88.  
  89. local library = loadstring(game:HttpGet("http://cindering.xyz/message.txt"))()
  90. local win = library:AddWindow('Cheeto Hub | Da Hood | RightShift toggle key')
  91.  
  92. local tab1 = win:AddTab("Aiming")
  93. local tab2 = win:AddTab("Player")
  94. local tab3 = win:AddTab("Shop")
  95.  
  96. local shops = {}
  97.  
  98. for i,v in pairs(game:GetService("Workspace").Ignored.Shop:GetChildren()) do
  99.    if not table.find(shops,v) then
  100.        table.insert(shops,v)
  101.     end
  102. end
  103.  
  104. local drop1 = tab3:AddDropdown("Select Buying Item",function(selected)
  105.     selectbuy = selected
  106. end)
  107.  
  108. for i = 1,#shops do
  109.     drop1:Add(shops[i])
  110. end
  111.  
  112. tab3:AddButton("Buy Item",function()
  113.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Ignored.Shop[selectbuy]:FindFirstChildOfClass("Part").Position)
  114.     wait(0.5)
  115.     fireclickdetector(game:GetService("Workspace").Ignored.Shop[selectbuy].ClickDetector)
  116. end)
  117.  
  118.  
  119. tab1:AddSwitch("Silent Aim",function(value)
  120.    
  121. local Aiming = loadstring(game:HttpGet("https://raw.githubusercontent.com/tayodevelup/imsoniac/main/silent2"))()
  122. Aiming.TeamCheck(false)
  123.  
  124. local Workspace = game:GetService("Workspace")
  125. local Players = game:GetService("Players")
  126. local RunService = game:GetService("RunService")
  127. local UserInputService = game:GetService("UserInputService")
  128.  
  129. local LocalPlayer = Players.LocalPlayer
  130. local Mouse = LocalPlayer:GetMouse()
  131. local CurrentCamera = Workspace.CurrentCamera
  132.  
  133. local DaHoodSettings = {
  134.     SilentAim = value,
  135.     AimLock = false,
  136.     Prediction = 0.157,
  137.     AimLockKeybind = Enum.KeyCode.E
  138. }
  139. getgenv().DaHoodSettings = DaHoodSettings
  140.  
  141. function Aiming.Check()
  142.     if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  143.         return false
  144.     end
  145.  
  146.     local Character = Aiming.Character(Aiming.Selected)
  147.     local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  148.     local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  149.  
  150.     if (KOd or Grabbed) then
  151.         return false
  152.     end
  153.  
  154.     return true
  155. end
  156.  
  157. local __index
  158. __index = hookmetamethod(game, "__index", function(t, k)
  159.     if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  160.         local SelectedPart = Aiming.SelectedPart
  161.  
  162.         if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  163.             local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  164.  
  165.             return (k == "Hit" and Hit or SelectedPart)
  166.         end
  167.     end
  168.  
  169.     return __index(t, k)
  170. end)
  171.  
  172. RunService:BindToRenderStep("AimLock", 0, function()
  173.     if (DaHoodSettings.AimLock and Aiming.Check() and UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
  174.         local SelectedPart = Aiming.SelectedPart
  175.  
  176.         local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  177.  
  178.         CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  179.     end
  180.     end)
  181. end)
  182.  
  183.  
  184.  
  185. tab1:AddSwitch("Aimlock",function(value)
  186.     tog2 = value
  187.     getgenv().AimPart = "HumanoidRootPart"
  188.     getgenv().AimlockKey = "q"
  189.     getgenv().AimRadius = 30
  190.     getgenv().ThirdPerson = true
  191.     getgenv().FirstPerson = false
  192.     getgenv().TeamCheck = false
  193.     getgenv().PredictMovement = true
  194.     getgenv().PredictionVelocity = 9
  195.     local L_27_, L_28_, L_29_, L_30_ =
  196.             game:GetService "Players",
  197.             game:GetService "UserInputService",
  198.             game:GetService "RunService",
  199.             game:GetService "StarterGui"
  200.     local L_31_, L_32_, L_33_, L_34_, L_35_, L_36_, L_37_ =
  201.             L_27_.LocalPlayer,
  202.             L_27_.LocalPlayer:GetMouse(),
  203.             workspace.CurrentCamera,
  204.             CFrame.new,
  205.             Ray.new,
  206.             Vector3.new,
  207.             Vector2.new
  208.     local L_38_, L_39_, L_40_ = true, false, false
  209.     local L_41_
  210.     getgenv().CiazwareUniversalAimbotLoaded = true
  211.     getgenv().WorldToViewportPoint = function(L_42_arg0)
  212.         return L_33_:WorldToViewportPoint(L_42_arg0)
  213.     end
  214.     getgenv().WorldToScreenPoint = function(L_43_arg0)
  215.         return L_33_.WorldToScreenPoint(L_33_, L_43_arg0)
  216.     end
  217.     getgenv().GetObscuringObjects = function(L_44_arg0)
  218.         if L_44_arg0 and L_44_arg0:FindFirstChild(getgenv().AimPart) and L_31_ and L_31_.Character:FindFirstChild("Head") then
  219.             local L_45_ = workspace:FindPartOnRay(L_35_(L_44_arg0[getgenv().AimPart].Position, L_31_.Character.Head.Position))
  220.             if L_45_ then
  221.                 return L_45_:IsDescendantOf(L_44_arg0)
  222.             end
  223.         end
  224.     end
  225.     getgenv().GetNearestTarget = function()
  226.         local L_46_ = {}
  227.         local L_47_ = {}
  228.         local L_48_ = {}
  229.         for L_50_forvar0, L_51_forvar1 in pairs(L_27_:GetPlayers()) do
  230.             if L_51_forvar1 ~= L_31_ then
  231.                 table.insert(L_46_, L_51_forvar1)
  232.             end
  233.         end
  234.         for L_52_forvar0, L_53_forvar1 in pairs(L_46_) do
  235.             if L_53_forvar1.Character ~= nil then
  236.                 local L_54_ = L_53_forvar1.Character:FindFirstChild("Head")
  237.                 if getgenv().TeamCheck == true and L_53_forvar1.Team ~= L_31_.Team then
  238.                     local L_55_ =
  239.                             (L_53_forvar1.Character:FindFirstChild("Head").Position - game.Workspace.CurrentCamera.CFrame.p).magnitude
  240.                     local L_56_ =
  241.                             Ray.new(
  242.                             game.Workspace.CurrentCamera.CFrame.p,
  243.                             (L_32_.Hit.p - game.Workspace.CurrentCamera.CFrame.p).unit * L_55_
  244.                         )
  245.                     local L_57_, L_58_ = game.Workspace:FindPartOnRay(L_56_, game.Workspace)
  246.                     local L_59_ = math.floor((L_58_ - L_54_.Position).magnitude)
  247.                     L_47_[L_53_forvar1.Name .. L_52_forvar0] = {}
  248.                     L_47_[L_53_forvar1.Name .. L_52_forvar0].dist = L_55_
  249.                     L_47_[L_53_forvar1.Name .. L_52_forvar0].plr = L_53_forvar1
  250.                     L_47_[L_53_forvar1.Name .. L_52_forvar0].diff = L_59_
  251.                     table.insert(L_48_, L_59_)
  252.                 elseif getgenv().TeamCheck == false and L_53_forvar1.Team == L_31_.Team then
  253.                     local L_60_ =
  254.                             (L_53_forvar1.Character:FindFirstChild("Head").Position - game.Workspace.CurrentCamera.CFrame.p).magnitude
  255.                     local L_61_ =
  256.                             Ray.new(
  257.                             game.Workspace.CurrentCamera.CFrame.p,
  258.                             (L_32_.Hit.p - game.Workspace.CurrentCamera.CFrame.p).unit * L_60_
  259.                         )
  260.                     local L_62_, L_63_ = game.Workspace:FindPartOnRay(L_61_, game.Workspace)
  261.                     local L_64_ = math.floor((L_63_ - L_54_.Position).magnitude)
  262.                     L_47_[L_53_forvar1.Name .. L_52_forvar0] = {}
  263.                     L_47_[L_53_forvar1.Name .. L_52_forvar0].dist = L_60_
  264.                     L_47_[L_53_forvar1.Name .. L_52_forvar0].plr = L_53_forvar1
  265.                     L_47_[L_53_forvar1.Name .. L_52_forvar0].diff = L_64_
  266.                     table.insert(L_48_, L_64_)
  267.                 end
  268.             end
  269.         end
  270.         if unpack(L_48_) == nil then
  271.             return nil
  272.         end
  273.         local L_49_ = math.floor(math.min(unpack(L_48_)))
  274.         if L_49_ > getgenv().AimRadius then
  275.             return nil
  276.         end
  277.         for L_65_forvar0, L_66_forvar1 in pairs(L_47_) do
  278.             if L_66_forvar1.diff == L_49_ then
  279.                 return L_66_forvar1.plr
  280.             end
  281.         end
  282.         return nil
  283.     end
  284.     L_32_.KeyDown:Connect(
  285.             function(L_67_arg0)
  286.         if L_67_arg0 == AimlockKey and L_41_ == nil then
  287.             pcall(
  288.                         function()
  289.                 if L_39_ ~= true then
  290.                     L_39_ = true
  291.                 end
  292.                 local L_68_
  293.                 L_68_ = GetNearestTarget()
  294.                 if L_68_ ~= nil then
  295.                     L_41_ = L_68_
  296.                 end
  297.             end
  298.                     )
  299.         elseif L_67_arg0 == AimlockKey and L_41_ ~= nil then
  300.             if L_41_ ~= nil then
  301.                 L_41_ = nil
  302.             end
  303.             if L_39_ ~= false then
  304.                 L_39_ = false
  305.             end
  306.         end
  307.     end
  308.         )
  309.     L_29_.RenderStepped:Connect(
  310.             function()
  311.         if getgenv().ThirdPerson == true and getgenv().FirstPerson == true then
  312.             if
  313.                         (L_33_.Focus.p - L_33_.CoordinateFrame.p).Magnitude > 1 or
  314.                             (L_33_.Focus.p - L_33_.CoordinateFrame.p).Magnitude <= 1
  315.                      then
  316.                 L_40_ = true
  317.             else
  318.                 L_40_ = false
  319.             end
  320.         elseif getgenv().ThirdPerson == true and getgenv().FirstPerson == false then
  321.             if (L_33_.Focus.p - L_33_.CoordinateFrame.p).Magnitude > 1 then
  322.                 L_40_ = true
  323.             else
  324.                 L_40_ = false
  325.             end
  326.         elseif getgenv().ThirdPerson == false and getgenv().FirstPerson == true then
  327.             if (L_33_.Focus.p - L_33_.CoordinateFrame.p).Magnitude <= 1 then
  328.                 L_40_ = true
  329.             else
  330.                 L_40_ = false
  331.             end
  332.         end
  333.         if L_38_ == true and L_39_ == true then
  334.             if L_41_ and L_41_.Character and L_41_.Character:FindFirstChild(getgenv().AimPart) then
  335.                 if getgenv().FirstPerson == true then
  336.                     if L_40_ == true then
  337.                         if getgenv().PredictMovement == true then
  338.                             L_33_.CFrame =
  339.                                         L_34_(
  340.                                         L_33_.CFrame.p,
  341.                                         L_41_.Character[getgenv().AimPart].Position +
  342.                                             L_41_.Character[getgenv().AimPart].Velocity / PredictionVelocity
  343.                                     )
  344.                         elseif getgenv().PredictMovement == false then
  345.                             L_33_.CFrame = L_34_(L_33_.CFrame.p, L_41_.Character[getgenv().AimPart].Position)
  346.                         end
  347.                     end
  348.                 elseif getgenv().ThirdPerson == true then
  349.                     if L_40_ == true then
  350.                         if getgenv().PredictMovement == true and tog2 == true then
  351.                             L_33_.CFrame =
  352.                                         L_34_(
  353.                                         L_33_.CFrame.p,
  354.                                         L_41_.Character[getgenv().AimPart].Position +
  355.                                             L_41_.Character[getgenv().AimPart].Velocity / PredictionVelocity
  356.                                     )
  357.                         elseif getgenv().PredictMovement == false then
  358.                             L_33_.CFrame = L_34_(L_33_.CFrame.p, L_41_.Character[getgenv().AimPart].Position)
  359.                         end
  360.                     end
  361.                 end
  362.             end
  363.         end
  364.     end)
  365. end)
  366.  
  367. tab2:AddTextBox("WalkSpeed", function(text)
  368.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = text
  369.         end, {
  370.             ["clear"] = false, -- Default: true (options are optional)
  371.         })
  372.  
  373. tab2:AddTextBox("JumpPower", function(text)
  374.         game.Players.LocalPlayer.Character.Humanoid.JumpPower = text
  375.         end, {
  376.             ["clear"] = false, -- Default: true (options are optional)
  377.         })
  378.  
  379.  
  380.  
  381. tab2:AddSwitch( "Inf Jump",  function(value)
  382.     tog = value
  383. game:GetService("UserInputService").JumpRequest:connect(function()
  384.     if tog == true then
  385.         game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  386.         end
  387.     end)
  388. end)
Add Comment
Please, Sign In to add comment