Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What is wrong with my weld script, no errors but it does nothing? (yes i still suck at welds)

Asked by 6 years ago
Edited 6 years ago
for i, v in ipairs(script.Parent:GetChildren()) do
    if v.Name == "Part" or v.Name == "Wedge" then
        wait()
        weld = Instance.new('Weld')
        weld.C0 = v.CFrame:inverse()
        weld.C1 = script.Parent.Handle.CFrame:inverse()
        weld.Part0 = v
        weld.Part1 = script.Parent.Handle
    end
end
  • trying to weld every part but one called "Handle" to the part "Handle" (if that makes sense) Please help me understand better how weld scripting works as well.

Thanks.

Answer this question