Pointing the character at the mouse

you would want to lock the y axis of the targetPo

example:

root.CFrame = CFrame.new(root.Position,Vector3.new(targetPo.X, root.Position.Y, targetPo.Z))
1 Like