plz help ILSpy recxover scripts

@Bunny83 plz help you did a solution a few years ago on how to use ILSpy to recover lost scripts and to post them somewhere to extract them if we needed help! plz help I tried following your directions in the comments but I just got lost! my email is shanaealexandra@gmail.com or may I get your email so I can send you these assemblies that I have no idea how to us for ILSPy please I hope you help ive been working on this project for almost a year! :frowning:

I won’t give out my email address. I doubt that you even tried to solve that problem on your own. The usage is easier than using MSPaint to convert a jpg to png.

Just click File → Open and select your assembly. If you used C# It’s called Assembly-CSharp.dll if you used UnityScript (Unity’s javascript) it’s called Assembly-UnityScript.dll.

Make sure you set the desired language in the drop down field to “C#”.

Once you have opened your assembly it will show up in the list on the left. Just select the assembly in that list and click File → Save Code. Select a temporary location where you want to extract the files to and click “Save”. Done!

All classes which are defined in that assembly will be saved to the path that you have selected. Now you can copy them to your project. Keep in mind that this only work 98% of the time. Coroutines usually can’t be decompiled correctly. Also local variable names can’t be restored since they are lost during compilation.