You actually need to add code for things to animate, also (Not sure) the Magic carpet script has always been very glitchy, it will crash on collision some times. The reason why it doesn't crash with the Magic carpet itself is most likely due to the small collision box around it thus the reason it goes though walls.