Hello I am making a Camera script that will move the player's camera with the mouse without having to click and hold the mouse 2. This is my script so far.
local Players = game.Players.LocalPlayer
local mouse = Players:GetMouse()
local UserInputSetvice = game:GetService("UserInputService")
while true do
UserInputSetvice.MouseBehavior = Enum.MouseBehavior.LockCenter
UserInputSetvice.MouseIconEnabled = false
wait(0.1)
end
So as you can see I did try to lock the mouse in the center and I still have to hold the mouse 2. This script is a local script in StarterPlayerScripts. Thanks
