Let's say we have 2 parts: A and B. Both parts have different position and rotation. What I'm trying to do is to rotate A around B Y axis. Using CFrame.Angles on A will rotate It around itself. Here's a visual representation:
How do I rotate A like this?

3 comments
I think theres :ToWorldSpace() but i dont know how to use it
I've been trying using ToWorldSpace and the other functions, and I know what are these for, but I don't know how to implement them to create this code
I did not watch the video through but this may help: https://www.youtube.com/watch?v=IYZ7DS_E-VA