So basically, how I made this is I looked inside of @jinxthesupercatts project called A-40 and I saw the rotate code inside, so I used that, and it worked so thanks to @jinxthesupercatt.