Player Model Flips Over When Looking Around

ok though in this instance those values are stationary. I can see how that could be helpful

If I understand correctly you already have achieved the right result, but at some point it flips? Maybe you can show the problem in a video or share a sample project with the problem.