[CFRAME ISSUE] Object isn't welding to the correct spot because of rotation

ca8b904883b2678a577aacb6afb864b5

I have a little attachment script that works fine when my character is facing a certain direction. When I walk around it stays on the leg as it should.

d17723e11e433ffc947ac4c850a151b9

However, if I were to attach the object while my character was facing a different way, it’d do this.

This is the weld position line. I don’t know what’s wrong with it, but I’m trying to get it to always attach no matter the direction to the right leg.

08b4fccc781b285f6a3e937682989763

(The green circle is where I’d like it to always attach, regardless of the rotation of my leg)

You can just avoid all CFrames and make it an accessory, It’s much easier.

1 Like