script.Parent.OnTouch:connect(function()
for i,p in pairs(script.Parent.Parent.Truck:GetChildren()) do
for i = 1,200 do
p.CFrame = p.CFrame * CFrame.new(.4,0,0)
wait(.1)
end
end
end)
For some reason, this script doesn't work. It works with changing size, but not position. There's also this script:
script.Parent.OnTouch:connect(function()
wait(6)
for i,p in pairs(script.Parent.Parent.Parts:GetChildren()) do
for i = 1,10 do
p.CFrame = p.CFrame * CFrame.new(.25,0,0)
wait(.1)
end
p.Anchored = false
end
end)

2 comments
Keep in mind when you use "GetChildren()". They take ALL the children of the parent. Including scripts and such that do not have positions or CFrame
The only things in the models "Truck" and "Parts" are bricks.