I can't see anything to do with forcing players into shift lock, only third person mode and first person mode. Is there any simple way to enable shift lock by force so players cannot exit shift lock mode?
How do I force players into shift lock?
1 answer
Q: How do you force shift lock?
A:First take the CameraScript by joining the game in Roblox Studio and copying the CameraScript located in StarterPlayer>StarterPlayerScripts (in the explorer)
After you copied it stop playing and paste the script in StarterPlayer>StarterPlayerScripts(In the Explorer)
Go in RootCamera Inside the CameraScript
Once you are editing the RootCamera(module script) go to line 127 there should be a code like this:
this.ShiftLock = false
Turn false into true
After that go to line 140 there should be a code like this:
function this:GetShiftLock()
return ShiftLockController:IsShiftLocked()
end
Delete that code and paste this on the same line:
function this:GetShiftLock()
return true
end
There you have it. I hope this what you are looking for.
Credits: Reddit Post by AbyssalCry
1 comment
Thank you!
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
Before I answer, are you going to be using this in a game or are you just generally wondering how to force shift lock?
I'm using this in a game, and I guess I also wonder about it? lol
devforum have good info on this kind of thing https://devforum.roblox.com/t/shiftlock/148363
Theres your answer, hope it helped.
Thanks!