how do i make it so a part looks at the mouse but on only on one axis?
Ok easy.
All you need is Mouse.Hit.p