Skip to Content

Weld

Rigid joint that binds two parts into a single physics body.

Welds are created in Studio with Weld on the ribbon, or at runtime with World:CreateWeld. If either part is anchored, the whole assembly is anchored. Explosions destroy welds within their radius.

local weld = game:GetService("World"):CreateWeld(seat, car)

The Toolbox Auto Weld script welds every part in its model together on start.

Properties

Part0

weld.Part0: Part

First part of the joint. Read only.

Part1

weld.Part1: Part

Second part of the joint. Read only.

Methods

Destroy

weld:Destroy()

Removes the weld. Both parts become independent bodies.

On this page