How do I construct a new CFrame rotation with just one axis of my choosing?

Tell me exactly what you want to do and I’ll write you some code for it and explain how it works.