How to get the Motor6d that is attached to a part

How do i get the Motor6d that attaches a part to another part?

Do you mean how do you create it, or how do you find it using a script if it’s already in the Part?

like, get the motor 6d which are fully attached?

BasePart:GetJoints() returns an array of welds/motor6ds attached to the part:
https://developer.roblox.com/en-us/api-reference/function/BasePart/GetJoints

2 Likes