--// HITBOX CHANGER ADMIN GUI (READY TO USE) if game.CoreGui:FindFirstChild("HitboxChanger") then game.CoreGui.HitboxChanger:Destroy() end local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer -- GUI SETUP local ScreenGui = Instance.new("ScreenGui", game.CoreGui) ScreenGui.Name = "HitboxChanger" ScreenGui.ResetOnSpawn = false local Main = Instance.new("Frame", ScreenGui) Main.Size = UDim2.new(0, 300, 0, 210) Main.Position = UDim2.new(0.5, -150, 0.5, -105) Main.BackgroundColor3 = Color3.fromRGB(25,25,25) Main.BorderSizePixel = 0 Main.Active = true Main.Draggable = true -- TITLE local Title = Instance.new("TextLabel", Main) Title.Size = UDim2.new(1,0,0,30) Title.BackgroundColor3 = Color3.fromRGB(35,35,35) Title.Text = "Hitbox Changer" Title.TextColor3 = Color3.new(1,1,1) Title.Font = Enum.Font.SourceSansBold Title.TextSize = 18 -- INFO TEXT local Info = Instance.new("TextLabel", Main) Info.Position = UDim2.new(0,0,0,35) Info.Size = UDim2.new(1,0,0,20) Info.BackgroundTransparency = 1 Info.Text = "Hitbox value must be 50 or less" Info.TextColor3 = Color3.fromRGB(200,200,200) Info.Font = Enum.Font.SourceSans Info.TextSize = 14 -- SLIDER BG local SliderBG = Instance.new("Frame", Main) SliderBG.Position = UDim2.new(0,20,0,70) SliderBG.Size = UDim2.new(1,-40,0,10) SliderBG.BackgroundColor3 = Color3.fromRGB(60,60,60) SliderBG.BorderSizePixel = 0 local SliderFill = Instance.new("Frame", SliderBG) SliderFill.Size = UDim2.new(0,0,1,0) SliderFill.BackgroundColor3 = Color3.fromRGB(0,170,255) SliderFill.BorderSizePixel = 0 -- VALUE TEXT local ValueText = Instance.new("TextLabel", Main) ValueText.Position = UDim2.new(0,0,0,90) ValueText.Size = UDim2.new(1,0,0,25) ValueText.BackgroundTransparency = 1 ValueText.Text = "Hitbox Size: 0" ValueText.TextColor3 = Color3.new(1,1,1) ValueText.Font = Enum.Font.SourceSansBold ValueText.TextSize = 16 -- TOGGLE BUTTON local Toggle = Instance.new("TextButton", Main) Toggle.Position = UDim2.new(0.25,0,0,130) Toggle.Size = UDim2.new(0.5,0,0,30) Toggle.BackgroundColor3 = Color3.fromRGB(150,0,0) Toggle.Text = "OFF" Toggle.TextColor3 = Color3.new(1,1,1) Toggle.Font = Enum.Font.SourceSansBold Toggle.TextSize = 18 -- VARIABLES local dragging = false local enabled = false local hitboxSize = 0 -- APPLY HITBOX local function ApplyHitboxes() for _, plr in pairs(Players:GetPlayers()) do if plr ~= LocalPlayer then local char = plr.Character if char and char:FindFirstChild("HumanoidRootPart") then local hrp = char.HumanoidRootPart hrp.Size = Vector3.new(hitboxSize, hitboxSize, hitboxSize) hrp.Transparency = 0.6 hrp.Material = Enum.Material.Neon hrp.CanCollide = false end end end end -- RESET HITBOX local function ResetHitboxes() for _, plr in pairs(Players:GetPlayers()) do if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then local hrp = plr.Character.HumanoidRootPart hrp.Size = Vector3.new(2,2,1) hrp.Transparency = 1 hrp.Material = Enum.Material.Plastic hrp.CanCollide = false end end end -- SLIDER LOGIC SliderBG.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) UIS.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local minX = SliderBG.AbsolutePosition.X local maxX = minX + SliderBG.AbsoluteSize.X local percent = math.clamp((input.Position.X - minX) / (maxX - minX), 0, 1) hitboxSize = math.floor(percent * 50) SliderFill.Size = UDim2.new(percent,0,1,0) ValueText.Text = "Hitbox Size: "..hitboxSize if enabled then ApplyHitboxes() end end end) -- TOGGLE Toggle.MouseButton1Click:Connect(function() enabled = not enabled if enabled then Toggle.Text = "ON" Toggle.BackgroundColor3 = Color3.fromRGB(0,150,0) ApplyHitboxes() else Toggle.Text = "OFF" Toggle.BackgroundColor3 = Color3.fromRGB(150,0,0) ResetHitboxes() end end) -- INSERT KEY OPEN/CLOSE UIS.InputBegan:Connect(function(input, gp) if gp then return end if input.KeyCode == Enum.KeyCode.Insert then Main.Visible = not Main.Visible end end)