How do you edit mouse sensitivity on the ROBLOX Weapons Kit?

I am using the ROBLOX-endorsed weapons kit for a new game.

One thing I am wondering on how to do is, how do you change the sensitivity for keyboard+mouse users? I see options to change it for gamepad and mobile users (red lines in below image), but nothing for changing it for kbm players.

The green lines are the closest thing that I can deduce are for kbm sensitivity, but editing them doesn’t really have any sort of change.

Has anyone had a lot of experience with the ROBLOX-endorsed weapons kit to know how you change sensitvity?

local sensitivty = 4 -- Change this value for sensitivty, range: 0.0 - 10.0
self.mouseRadsPerPixel = Vector2.new(1 / (480 / sensitivty), 1 / (480 / sensitivty))
self.zoomedMouseRadsPerPixel = Vector2.new(1 / (1200 / sensitivty), 1 / (1200 / sensitivty))

Change the highlighted lines to this:

2 Likes

Yep, this is exactly what I needed! Thank you so much.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.