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


Asked by
Lineout 10
10 years ago

Ok I am wondering how you would weld all the part of a model to 1 part? And then rotate is using fromAugulasAnglesThatIDontKnowTheNameOfThing. Thanks guys

1 answer

Log in to vote
Answered by 10 years ago

Here's an example of how I do it:

But this was like 1 or 2 years ago so it might be outdated.

me = game.Workspace.CrniOrao

local msh01 ="BlockMesh") ---mesh 
msh01.Scale =,1.01,1.01) ---scale of mesh 
local prt ="Part") ---part 
prt.CanCollide = false ---if true then broke 
prt.BrickColor ="White") --color of part 
prt.Locked = true --locked part 
prt.Name = "Arm_1" --name of part 
prt.Size =,2,1) --size of part 
prt.Parent = me ---parent of part 
msh01.Parent = prt ---parent of the mesh 
local w ="Weld") ---weld that make part dont fall 
w.Parent = prt --parent of weld 
w.Part0 = prt --The Part Attached To Part1 
w.Part1 = me["Right Arm"] --The Part Attached To Part0 
w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) *, 0, 0) --rotation

Answer this question