Disappeared code

So I just logged back in and I realized that a lot of the code I previously had is gone, it’s like a later version of my game, but then when I tested it out, it had all the code working perfectly as nothing had happened but I cannot find the code at all. I don’t see the block code at all but it’s updated