I have some parts with Prompt on them, when player trigger prompt, part welds to character’s back.
I tried to make that if there is already at least one part on character’s back, part goes on top of last part, but i keep getting some bad results. It works, but it isn’t place parts on top of each other. (only if they have same Y size)
Probably important: I am using Weld.C0/C1 to put parts on player/each other, so it is not Vector3, but CFrame.
What i got to put them on each other:
if CharSeq.Value > 1 then
local LastPack = Character:WaitForChild("Packages")[PrevSeqV]
Weld.C0 *= CFrame.new(0,-LastPack.Size.Y,0)
end
CharSeq - how much parts are welded to player PrevSeqV - order number of the previous part