I have a Model and inside are many bricks and a script at the root of the Model. I want it to CFrame all bricks in the model at the same time, this script is only doing it one by one, why?
while true do wait(4)
for i, v in pairs(script.Parent:GetChildren()) do
for i = 1, 25 do
v.CFrame = v.CFrame*CFrame.new(0,-0.95,0)
wait()
end
wait(4)
for i = 1, 25 do
v.CFrame = v.CFrame*CFrame.new(0,0.95,0)
wait()
end
end
end

1 comment
I think I understand the difference now in why I had to swtich it around.