When the star beam touches a player (including a stationary one), stop spinning and start hitting

You could attach a StaticMesh to your star

Constantly rotate the StaticMesh

Use “OnBeginOverlap” to notify when the StaticMesh touches the Pawn