accidentally deleted my whole enemy script folder by accident, don’t want to rewind because I made 3 hourse worth of progress, can’t find the folder in my recycle bin, help!!
Ouch! If you have built and run your project you should be able to find your scripts in build/default. The files have extension .gui_scriptc, .luac and .scriptc. This is the file in protobuf format with source in cleartext*. You can usually open the file in a text editor to see the code.
*= when you bundle your project you will instead have bytecode (except for html5 which uses cleartext)
2 Likes
yes this fixed it, phew
2 Likes
I really recommend that you get used to some kind of version control software or some other means of creating backups of your work.
1 Like
I made a GitHub repository now, so this is unlikely to happen again
5 Likes