Shift Lock with different keybinding

Hello, how do I simulate shift lock in a script, so when I press a keybind(LeftAlt), it activates, I tried to make it but I don’t know how to make the camera rotate, and it has many issue.

Check out this:

2 Likes
local Key = "LeftAlt"
game.StarterPlayer.StarterPlayerScripts.PlayerModule.CameraModule.MouseLockController.BoundKeys.Value = Key
2 Likes

That solved the issue, but how to make the camera in right of player instead of center? @Rezzorex