Earlier in the year, Roblox made some changes to the CameraScript which removed some important features used in Obby games. Specifically, the ability to use the period and comma keys to rotate the camera and some small changes with shiftlock.
That’s why I’ve been maintaining a forked version of the CameraScript for a while now, which I use in my game Obby Creator! The aim of this module is to stay as close to current Roblox CameraScripts, while also providing the additions mentioned above.
Big thanks to @MrNicNac who had some helpful resources on the DevForum which I incorporated in this module!
Below is a video showcasing the 2 main changes:
- When moving in and out of shiftlock, holding down the right mouse button is maintained.
- Pressing < and > rotate the camera correctly.
Get the model here: https://www.roblox.com/library/4901935887/Camera-with-Alignment-Keys
How to install the camera
- Place the PlayerModule inside StarterPlayerScripts (shown below).
- [BONUS] If you want to disable the emote wheel from popping up (it will appear when a player presses >, include the following piece of code in a LocalScript and also place it in StarterPlayerScripts.
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu, false)
I’m making this forked version available to you because I’d love to encourage more obby games and I know a lot of people want to have these features. I update this module every few months to try and keep it as close to the current Roblox scripts as possible and will reply here whenever I make any changes. Enjoy!