Since you know the concept of torque, it’s something you will need to calculate based on experimentation. You might try a servo motor, though be careful about the impact damaging the motor. You may want to attach a spring system so that when the sword hits the juice box the motor can keep rotating a bit. We honestly have no data to provide to tell you how much force is required to hit a juice box from a table.