reset its roll?
EDIT: Also, shouldn't you check if Dist is less than a certain value rather than equal?
RotateEntity terror, EntityPitch(terror), EntityYaw(terror),0
EDIT: Also, shouldn't you check if Dist is less than a certain value rather than equal?