I'm doing a game in where you can pick up specific types of tools. But, how can I get a part from a WeldConstraint that's already referenced?
you can get the parts that are connected with the constraint via:
WeldConstraint.Part0 = [Basepart or nil] WeldConstraint.Part1 = [Basepart or nil] WeldConstraint.Parent = [Model/group or Basepart]
Basepart = Any physical part Model/Group = Any group of objects like a Model or folder object
Part0-1 can be nil if the part gets deleted, though in the past it used to still reference the deleted part. But that was a bug that hopefully got fixed!.
hope this helps!
Devblog link: [email protected]