How to make Ai Rotate smootly and right in place?

There should also be setting up a timer with an event dispatcher in the steps