I would never let them get my bricks. I would use all my throwing knives, then I would pommel them with my foil, then shoot them in the eye with my 300fps airsoft pistol, and when I ran out, I would fight with my fists and legs, and when they broke I would bite them with all my strength. Those pirates will never get me bricks. NEVER!!!! AAAAAUUUGGH!!!
But if they somehow overpowered me I would keep my most precious minifig, the Boss, and fool them into thinking it was one brick. Stupid pirates.