This uses Scanning scripts from @griffpatch 's tutorial I have created a special draw script that allows me to rotate images on a Z axes. This works with your own images so you can replace the costumes for the "Spinny Boi" sprite you also need to change the scan from and draw from variables
Turbowarp might really help for this when the costume you want to spin gets big