Advertisement
kipr987

HitBox

Aug 18th, 2023 (edited)
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.91 KB | None | 0 0
  1. for i, v in pairs(game:GetService("CoreGui"):GetChildren()) do
  2.     if v.Name == "ui" then
  3.         v:Destroy()
  4.     end
  5. end
  6. local UI = loadstring(game:HttpGetAsync("https://pastebin.com/raw/QAwr1iuM"))()
  7.  
  8. local window = UI:Window("By kipr987")
  9. local nif = UI:Notification("Welcome to", game:GetService("Players").LocalPlayer.Name, "Okay!")
  10. local hitbox = window:Tab("Hitbox")
  11. local esp = window:Tab("Esp")
  12. local player = window:Tab("LocalPlayer")
  13. local setting = window:Tab("Setting")
  14. setting:Label("Gui Open/Close [H]")
  15. game:GetService("UserInputService").InputBegan:Connect(function(key, event)
  16.     if event then return end
  17.     pcall(function()
  18.         if key.KeyCode == Enum.KeyCode.H then
  19.             if game:GetService("CoreGui").ui.Enabled == false then
  20.                 game:GetService("CoreGui").ui.Enabled = true
  21.             else
  22.                 game:GetService("CoreGui").ui.Enabled = false
  23.             end
  24.         end
  25.     end)
  26. end)
  27. _G.torso = false
  28. _G.head = false
  29. _G.hitSize = 5
  30. _G.Speedif = false
  31. hitbox:Toggle("Torso", false, function(value)
  32.     _G.torso = value
  33. end)
  34. hitbox:Toggle("Head", false, function(value)
  35.     _G.head = value
  36. end)
  37. hitbox:Slider("Size", 0, 50, 5, function(value)
  38.     _G.hitSize = value
  39. end)
  40. esp:Toggle("Esp", false, function(value)
  41.     _G.Esp = value
  42. end)
  43. player:Toggle("On/Off", false, function(value)
  44.     _G.Speedif = value
  45. end)
  46. _G.Speed = 16
  47. local speed = player:Slider("WalkSpeed", 0, 100, 16, function(value)
  48.     _G.Speed = value
  49. end)
  50.  
  51. game:GetService("RunService").RenderStepped:Connect(function()
  52.     pcall(function()
  53.         if _G.Speedif == true then
  54.             game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = _G.Speed
  55.         else
  56.             game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 16
  57.         end
  58.     end)
  59. end)
  60.  
  61. game:GetService("RunService").RenderStepped:Connect(function()
  62.     pcall(function()
  63.         if _G.torso then
  64.             if game:GetService("Players").LocalPlayer.Team == nil then
  65.                 for i, v in pairs(game:GetService("Players"):GetChildren()) do
  66.                     local HumanoidRootPart = v.Character:FindFirstChild("HumanoidRootPart")
  67.                     if v.Name ~= game:GetService("Players").LocalPlayer.Name and HumanoidRootPart then
  68.                         HumanoidRootPart.Size = Vector3.new(_G.hitSize,_G.hitSize,_G.hitSize)
  69.                         HumanoidRootPart.Transparency = .7
  70.                         HumanoidRootPart.CanCollide = false
  71.                     end
  72.                 end
  73.             else
  74.                 for i, v in pairs(game:GetService("Players"):GetChildren()) do
  75.                     local HumanoidRootPart = v.Character:FindFirstChild("HumanoidRootPart")
  76.                     if v.Name ~= game:GetService("Players").LocalPlayer.Name and HumanoidRootPart and v.Character.Humanoid.Health > 0 then
  77.                         HumanoidRootPart.Size = Vector3.new(_G.hitSize,_G.hitSize,_G.hitSize)
  78.                         HumanoidRootPart.Transparency = .7
  79.                         HumanoidRootPart.CanCollide = false
  80.                     elseif v.Name ~= game:GetService("Players").LocalPlayer.Name then
  81.                         HumanoidRootPart.Size = Vector3.new(2,2,1)
  82.                         HumanoidRootPart.Transparency = 1
  83.                     end
  84.                 end
  85.             end
  86.         else
  87.             for i, v in pairs(game:GetService("Players"):GetChildren()) do
  88.                 local HumanoidRootPart = v.Character:FindFirstChild("HumanoidRootPart")
  89.                 if v.Name ~= game:GetService("Players").LocalPlayer.Name and HumanoidRootPart then
  90.                     HumanoidRootPart.Size = Vector3.new(2,2,1)
  91.                     HumanoidRootPart.Transparency = 1
  92.                 end
  93.             end
  94.         end
  95.     end)
  96. end)
  97.  
  98. game:GetService("RunService").RenderStepped:Connect(function()
  99.     pcall(function()
  100.         if _G.head then
  101.             if game:GetService("Players").LocalPlayer.Team == nil then
  102.                 for i, v in pairs(game:GetService("Players"):GetChildren()) do
  103.                     local HumanoidRootPart = v.Character:FindFirstChild("Head")
  104.                     if v.Name ~= game:GetService("Players").LocalPlayer.Name and HumanoidRootPart and HumanoidRootPart.Parent:FindFirstChild("Humanoid").Health > 0 then
  105.                         HumanoidRootPart.Massless = true
  106.                         HumanoidRootPart.Size = Vector3.new(_G.hitSize,_G.hitSize,_G.hitSize)
  107.                         HumanoidRootPart.Transparency = .7
  108.                         HumanoidRootPart.CanCollide = false
  109.                     end
  110.                 end
  111.             else
  112.                 for i, v in pairs(game:GetService("Players"):GetChildren()) do
  113.                     local HumanoidRootPart = v.Character:FindFirstChild("Head")
  114.                     if v.Name ~= game:GetService("Players").LocalPlayer.Name and HumanoidRootPart and HumanoidRootPart.Parent:FindFirstChild("Humanoid").Health > 0 then
  115.                         HumanoidRootPart.Massless = true
  116.                         HumanoidRootPart.Size = Vector3.new(_G.hitSize,_G.hitSize,_G.hitSize)
  117.                         HumanoidRootPart.Transparency = .7
  118.                         HumanoidRootPart.CanCollide = false
  119.                     elseif v.Name ~= game:GetService("Players").LocalPlayer.Name then
  120.                         HumanoidRootPart.Size = Vector3.new(1,1,1)
  121.                         HumanoidRootPart.Transparency = 0
  122.                     end
  123.                 end
  124.             end
  125.         else
  126.             for i, v in pairs(game:GetService("Players"):GetChildren()) do
  127.                 local HumanoidRootPart = v.Character:FindFirstChild("Head")
  128.                 if v.Name ~= game:GetService("Players").LocalPlayer.Name and HumanoidRootPart then
  129.                     HumanoidRootPart.Size = Vector3.new(1,1,1)
  130.                     HumanoidRootPart.Transparency = 0
  131.                 end
  132.             end
  133.         end
  134.     end)
  135. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement