Hello! I’m trying to create a script that will allow me to lower the mouse sensitivity of a player’s mouse cursor and such at will.
Unfortunately I haven’t found any way of doing this, and before you ask I have already tried MouseDeltaSensitivity. After some further looking into it it actually doesn’t support this.
Thanks in advance!
Did you use UserInputService
when setting MouseDeltaSensitivity?
Yes. In the documentation of it, it states it doesn’t affect the position of the mouse cursor.
Obviously it doesn’t, it affects how much the physical mouse corresponds to the in-game cursor.
This is the code sample I am using
player.Character.combatData.Target.Changed:Connect(function(value)
if value then
print("nil sens")
userInputService.MouseDeltaSensitivity = .1
block:Play(.15,2,0)
else
print("default sens")
userInputService.MouseDeltaSensitivity = 1
block:Stop(.15)
end
end)
I tried even outside the function and it had no results
Is that in a LocalScript or not?
Yes, the function works too. a