Start typing to search packages!
Welder
Utility for welding parts together and welding whole models to their primary part.
Usage
local Welder = require(path.to.Welder)
Welder:Weld(vehicle.Chassis, vehicle.Seat)
local welds = Welder:WeldModelToPrimary(model)
Welder:UnweldModelFromPrimary(model)
API
Welder:Weld(part0, part1, snap)
Welds part1 to part0 and returns the Welder, parented to part0. The current offset between the parts is preserved. Pass true for snap to move part1 onto part0 instead.
Welder:WeldModelToPrimary(model, exempt?)
Welds every BasePart in the model to its primary part and unanchors them, leaving the primary part free to drive the whole model. Returns the created welds. Errors if the model has no primary part.
Including exempt table exempts those instances and their decendants from being welded.
Welder:UnweldModelFromPrimary(model)
Destroys every Welder and WeldConstraint parented under the model's primary part, including any that were not created by this module. Errors if the model has no primary part.
Package Details
Install command (Click to copy)
Version
1.1.0
License
MIT
Safe for commercial use
Automated license review — not legal advice.
