Hi! I have a script which "extends" a corridor by cloning itself and placing it on the end of the previous one. However, currently, it just pastes the corridor infront of the previous and stacks. Anyone have any ideas? Script:
while true do
local infgen = game.Workspace:FindFirstChild("original"):Clone()
local pos = infgen.PrimaryPart.CFrame * CFrame.new(0, 0, 334.464)
wait(12)
infgen.Name = "notorig"
infgen:SetPrimaryPartCFrame(pos)
wait(.4)
infgen.Parent = game.Workspace
end

2 comments
mhm you got it faster than me, good job
I did think i had to do something like this but wasn't sure how to get around doing it, Thank you!