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

Yes, it has got working! Thank you!