Rotate My Left Screen 270°

It is not clear what you mean.

Obviously KM can't physically rotate your screen, but what exactly do you want KM to do? Rotate the windows on that screen?
When you physically rotate the screen, does the macOS not auto-adjust to display windows in the proper upright manner?

A screenshot of both before and after running a KM macro would be very helpful.

Please read:
Tip: How Do I Get The Best Answer in the Shortest Time?