Are you using physics or bullet behavior for the ball and bats?
You need to use Rotate towards angle 270 and then a wait to pause and then rotate back to original angle.
If you are using physics you would need a limited revolution joint that rotates to an angle with impulse and force to return it to it's former angle.