What do you want to achieve? Keep it simple and clear!
I have multiple parts right now and I want to know the best way to make a handle. Also, I can’t combine the parts with unions because they are MeshParts. What is the best way to make a handle out of multiple MeshParts?
What is the issue? Include screenshots / videos if possible!
I need to combine multiple MeshParts so I can usee it as a handle.
Here’s a short simple weld script I wrote just in case you need it.
local weld = function(a, b)
local w = Instance.new("Weld")
w.Name = a.Name.."-"..b.Name
w.Part0 = a
w.Part1 = b
w.C1 = b.CFrame:Inverse() * a.CFrame
w.Parent = a
end
for i, v in pairs(model:GetChildren()) do
if v:IsA("BasePart") then
weld(handle, model)
end
end
Note: It has to be a server script as welds created locally won’t work.
Agree with the above posts, welding the parts together (via a server script) is the best way to do this, you can then make an invisible part named ‘Handle’ and place it where you would like the player to ‘grip’ (in reality the placement of a players hand).
The toolbox and plugin library have many options for weld scripts. I personally use a weld script made by Quenty. Link below;