Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can you prevent player camera from seeing through a part in shift lock mode?

I've looked through all ScriptingHelpers pages and couldn't find anything answering the question.

What I need is a script to stop the player from looking through the part in shift lock mode. Pretty much it, I have no clue where to start.

https://gyazo.com/632e883a102c0f4b5a3f9d33349b99d9

1 answer

The best way is probably to disable Shiftlock mode itself. A couple other ways may be add more layers of walls. Other then that this is a Roblox issue. To disable Shift lock:

  1. Go to StarterPlayer

  2. In StarterPlayer look for the property called EnabledMouseLockOption and change the value (it's a bool true or false)

Hopefully this helped you.

2 comments

0

im making a tps game, disabling shiftlock isnt my goal

0

Well there is no other way.

This discussion is preserved as it was. New answers, comments, and votes are closed.