local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart while task.wait() do for _, player in pairs(game.Players:GetPlayers()) do if player == game.Players.LocalPlayer then continue end if not player.Character then continue end local hitbox = player.Character:FindFirstChild("Hitbox") if not hitbox then continue end local head = hitbox:FindFirstChild("Hitbox_Head") if not head then continue end local size = 100 if hrp then local dist = (head.Position - hrp.Position).Magnitude size = math.clamp((dist - 5) * 2, 1, size) end local newSize = Vector3.new(size, size, size) if head.Size ~= newSize then head.Size = newSize end end for _, bot in pairs(workspace:GetChildren()) do if bot:IsA("Model") and bot.Name ~= "Map" then local hitbox = bot:FindFirstChild("Hitbox") if not hitbox then continue end local head = hitbox:FindFirstChild("Hitbox_Head") if not head then continue end local size = 100 if hrp then local dist = (head.Position - hrp.Position).Magnitude size = math.clamp((dist - 2) * 2, 1, size) end local newSize = Vector3.new(size, size, size) if head.Size ~= newSize then head.Size = newSize end end end end