I'm trying to make it so the mouse gets locked to the center of the screen. No matter what I do it doesn't seem to work. I even tried the tutorial on the wiki and it did not work. No errors either for both methods. Any help is appreciated. Below is what I tried using, its being ran on the client(localscript). Thanks for reading. :)
local UserInputService = game:GetService("UserInputService")
UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
