I'm trying to make a third person shooter, I don't know how to make a script for turning on shift lock but if you know please tell me how!

9 comments

0

If you locate the CameraModule script, copy it then paste it back into its original location relative to Studio containers. Locate the :Update() method and insert the following line:

0

self.activeCameraCantroller:SetIsMouseLocked(true)

0

which line should I put it in?

0

and where, also will I be able to control it from another script?

0

you should make it a module for that, but just using it in one script will work

0

@epicnt where do I write that line?

0

And please write a full script and answer please!

0

@NathanTheCraziest This is not a request site! We won't write a full script for you.

0

no, sorry, i mean just the parts for the parts where we turn on the mouse lock?