local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local button = Instance.new("TextButton") button.Parent = screenGui button.Size = UDim2.new(0, 150, 0, 50) button.Position = UDim2.new(0.5, -75, 0.8, 0) button.Text = "Enable Hitbox" button.BackgroundColor3 = Color3.fromRGB(255, 0, 0) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Font = Enum.Font.GothamBold button.TextSize = 16 button.BorderSizePixel = 0 button.AutoButtonColor = true _G.HeadSize = 12 --change this if you want _G.Disabled = true local function updateHitboxes() for _, v in next, game:GetService("Players"):GetPlayers() do if v.Name ~= game:GetService("Players").LocalPlayer.Name and v.Character and v.Character:FindFirstChild("HumanoidRootPart") then local hrp = v.Character.HumanoidRootPart pcall(function() if _G.Disabled then hrp.Size = Vector3.new(2, 2, 1) -- Reset to normal size when disabled hrp.Transparency = 0 hrp.BrickColor = BrickColor.new("Medium stone grey") hrp.Material = Enum.Material.Plastic else hrp.Size = Vector3.new(_G.HeadSize, _G.HeadSize, _G.HeadSize) hrp.Transparency = 0.7 hrp.BrickColor = BrickColor.new("Really Blue") hrp.Material = Enum.Material.Neon hrp.CanCollide = false end end) end end end game:GetService("RunService").RenderStepped:Connect(updateHitboxes) button.MouseButton1Click:Connect(function() _G.Disabled = not _G.Disabled if _G.Disabled then button.Text = "Enable Hitbox" button.BackgroundColor3 = Color3.fromRGB(255, 0, 0) -- Red when off else button.Text = "Disable Hitbox" button.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- Green when on end end)