This is possible to do and easy to do, you just need to know some bit of trigonometry and some math or some bull.
I’ve seen in scripts where people move the player’s normal arms using asin, here’s the link to where i found this out How could I make your arms and head follow your mouse up and down? - #24 by Scefrom .