copied code from one blueprint to another and now unreal crashes everytime i press play.

File overwrites cannot be fixed unfortunately. You will have to make a new blueprint