local function enlargeHitbox(npc)
local humanoidRootPart = npc:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local targetSize = Vector3.new(10, 10, 10)
-- Check if the current size is not equal to the target size
if humanoidRootPart.Size ~= targetSize then
local originalSize = humanoidRootPart.Size
-- Set the new size for the hitbox
humanoidRootPart.Size = targetSize
-- Adjust the position to keep it centered
local newSize = humanoidRootPart.Size
humanoidRootPart.Position = humanoidRootPart.Position + Vector3.new(0, (newSize.Y - originalSize.Y) / 2, 0)
-- Make NPC noclip
for _, part in pairs(npc:GetChildren()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end
end
end
while true do
for _, npc in pairs(game:GetService("Workspace").Enemies:GetChildren()) do
enlargeHitbox(npc)
end
wait(1)
end
To embed this program on your website, copy the following code and paste it into your website's HTML: