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

Excellent! Please can you accept my answer? Then it shows green in the list so people know straight away that you’ve solved it.