I made an auto driving car that should turn when it hits a block but only the base turns and the other parts just stay where they were before, here is what i have:
local delayy = false
script.Parent.Parent.PrimaryPart = script.Parent
script.Parent.Touched:Connect(function(hit)
if hit.Name == "RotationChange" and delayy == false then --RotatationChange is the part wich causes the car to turn
delayy = true
print("Change Rotation")
local orientation = hit.Orientation --the direction the car should turn
script.Parent.Orientation = orientation --Setting the main part to the orientation
wait(2)
delayy = false
end
end)

5 comments
Make sure they're well welded
If they're not I recommend using the weld plugin
i welded them with a weld constraint is that a problem?
still not working
well welds should lock the part into the brick they're welded to, try something like hinges