i made it so that the mouse is locked in center of screen
game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.LockCenter game:GetService("UserInputService").InputChanged:connect(function(inputObject) if inputObject.UserInputType == Enum.UserInputType.MouseMovement then game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.LockCenter end end)
now how ho i make it so that it moves the camera when you move the mouse in 3d person
If you wanna do it simply just set the CameraMaxZoomDistance under StarterPlayer (Properties) to a low number. The player can't zoom out, and it moves the camera with the mouse, but it still stays center screen. That's the easy way. But there are other ways.