Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago
Edited 5 years ago

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

Log in to vote
0
Answered by 5 years ago

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.

0
im making a tps game, disabling shiftlock isnt my goal CardboardedCharacter 53 — 5y
0
Well there is no other way. BlackOrange3343 2676 — 5y
Ad

Answer this question