object rotation = velocity direction

Hi! I try to make the object’s rotation stays = the velocity’s direction. But my codes doesn’t work. Once it bounce with other objects, it spins.