If i have 12 parts in a line from left to right and i have a GetChildren() to get all the 12 parts in that model, and i want to move each part one by one in the y-axis, how do i move the first part in the line downwards and then the second one goes, and then the third. What i am showing here is the main thing to the function.
for i,v in pairs(model:GetChildren) do for i = 1,20 do if part.name == "Part1" then --(cframe moving script here) end end end for i,v in pairs(model:GetChildren) do for i = 1,20 do if part.name == "Part2" then --(cframe moving script here) end end end
Can someone help me with this? I was thinking of doing a table but i don't know how to use a part that is in a table.
Hmm maybe place that model a little closer to the baseplate and if first part touches the baseplate then 2nd part will go down and so on.. or you can place invisible parts I mean just make something that touches it..but I don't think it's the best way.