local Mouse = game.Players.LocalPlayer:GetMouse()
local UserInputService = game:GetService("UserInputService")
local Player = game.Players.LocalPlayer
local torso = Player.Character.HumanoidRootPart
print(torso)
UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
print(Player.CameraMode)
UserInputService.InputChanged:connect(function(inputObject)
print(Player.CameraMode.Value)
if inputObject.UserInputType == Enum.UserInputType.MouseMovement and Player.CameraMode.Value == 1 then
local x,y,z = torso.CFrame:toEulerAnglesXYZ()
torso.CFrame = CFrame.Angles(math.rad(x+inputObject.Delta.y),y,z)
end
end)
Instead of rotating the torso it just bugs the player out and forces them to jump there is something about cframe I'm not getting thanks for your help.

4 comments
Try RootPart
torso.CFrame = torso.CFrame * CFrame.Angles...?use HumanoidRootPart
didn't change still get flung around everywhere