How can I find the angles between two parts like in this diagram?

I think I found the solution in this thread: Best way to get the angle between two vectors? - #10 by coolalex1835

I used the code given in the thread and so far it works properly, although I might have to do more testing later on. I will also try your solution although i’m not sure how I would write the function that calls the code, i’m not used to that formatting unfortunately.

Thanks everyone for your help.

I found something interesting: Vector3.new():Angle(arg1)

Arg1 takes in another Vector3 value with which the machine returns the angle in radians between it and the Vector3 that you’re running “:Angle” on.

There’s also a second argument but that just makes the inbuilt function return the sign of the angle. Arg2 requires an axis (Not important).