Hello DevForum,
I’m making a paintball game by myself currently, and I’m trying to figure out how I would make a mouse sensitivity script. I’ve been trying to think about how to start for a couple of hours, but I have no idea how to start. Heres my attempt :
As you can see, it’s not a very good script. All it does is make the camera turn. I’m trying to make a sensitivity script like in one of my favorite Roblox games of all time, Nerf FPS.
I have a feeling MouseDeltaSensitivity would work, but I’ve tried, I couldn’t figure that out.
I would suggest using the GetMouseDelta() from the UserInputService or any way of getting how much the mouse moves. You can then set the camera’s cframe like so:
Oops sorry forgot to mention UserInputService.MouseBehavior has to be set to Enum.MouseBehavior. LockCenter. With this method, you can actually incorporate MouseDeltaSensitivity into this now.