How would I be able to use AlignOrientation in ShiftLock

Hey, for my game I need to be able to use ShiftLock to swing your character at unanchored parts. Everything I’ve tried basically just updates the CFrame of your character making your character just go through it. I’m pretty sure AlignOrientation would fix this issue but I’m not sure how to use AlignOrientation with the Camera’s direction.

It is not exactly clear what you are saying but I’d assume you are trying to make the character face a certain place while they are in shift lock. If you switch over to a custom shift lock or use a shift lock module, you will be able to disable it and enable it when needed so you can use AlignOrientation.

What I’m saying is that I want to make the player rotate using align orientation for shiftlock instead of it just changing the cframe.