Need help for script

Please use the search button on the top right corner of the site. A lot of questions was already answered.

I searched for ‘rotate beam’ these are the top results: