How can i connect the value of my slider with the mouse sensitivity on my player

title is the question, help me pls

when i use a keybind it works, but i dont get it how to connect it with my slider

image