I need help making a player to look in a certain point but making so ShiftLock won't override it

Hello, I would like to know a way to make so shiftlock won’t override HumanoidRootPart’s CFrame.

I’m changing the HumanoidRootPart rotation with the CFrame.new method with a loop, it works if the player isn’t shiftlocking, but if the player shiftlocks, the CFrame.new loop doesn’t work.

1 Like

Humanoid.AutoRotate is your friend here.

Humanoid.AutoRotate = false

The player won’t be able to use shift lock to turn around until you toggle AutoRotate back on.

1 Like