How can i make it so my weapon must swing thru a box to break it?

also i didnt see the first sentence about asking for my swing animation, im assuming you’re talking about like my button press line of code so here is that, just minus the IsSwinging Set in the beginning .