How do i script dummies to make a line?

how do i make a dummy make a line?, like if theres already a dummy in a certain position, the other dummy will be in the right of the first dummy

You can get the dummy’s RootPart CFrame, then multiplicate per CFrame.new()

what if a line has X dummies, how do i make the other line be infront of the first?

You can move the dummy2 to dummy1’s HumanoidRootPart + CFrame.new(Calculate it's front)

hmm, but how do i will do that with for i, v in pairs?

v.CFrame + Cframe.new(Cframe)?

I’ll try to make a script for you then test it (I might not answer because I will get to go to sleep).

alright, i will wait for your answer

local Dummies = workspace.Model:GetChildren()

local First = nil
for Index, Dummy in pairs(Dummies) do
	local Root = Dummy:WaitForChild("HumanoidRootPart")
	if Index == 1 then First = Root continue end
	Root.CFrame = First.CFrame + (First.CFrame.LookVector * 10 * (Index-1))
end

it returns a error: Position is not a valid member of Vector3