Vader was only trying to get the plans that were stolen. All these people were in his way shooting at him, it’s either sit there and let the firing squad kill him, or mow them down with a lightsaber. I myself, in that situation would have done the same thing.
Because if he loses the plans, he has to face the Emperor and the consequences for failing.