Pickup crashing when collected; possibly caused by while loop

Consider waiting for the animation to finish instead. Make absolutely sure your animation doesn’t loop, because in that case the signal never fires.