How would I make a script limiting the rotation of your camera

It’s pretty complicated, but if you go into the - actually, see here.

You need to find the basecamera module, which is in the playermodules.

Test your game, then go into starterplayerscripts, and you should see a module, which is called PlayerModule, or something similar. Copy it, and exit the game. Then paste it into starterplayerscripts. then, you should be able to find a module inside of it called “BaseCamera”. Find it, and go to around line 40. And follow the instructions in the thread above.

1 Like