I made a focus script but the camera has some kind of problem when I move the mouse.
Video:https://vimeo.com/721938495
I am looking for a way to disable the mouse while the shift button is pressed but cant find seem to find a way
Found it. the function i was searching for was UserInputService.Mouse.MouseBehavior = Enum.MouseBehavior.LockCurrentPosition