No context not sure what you mean by mega man shooting but you can add ammo - a global variable that counts down when you shoot, you can add a timer behaviour to the player if it's time based, you can add a counter that counts up as you shoot and add a condition that you can only shoot if counter less than 3.