300 line module script suddenly blank?

I was programming a table operations module script for serializing tables & running various other operations yesterday, and I published it to my account as MainModule under a model, and now it’s a completely blank module? 300 lines reduced to the default 3? What the heck happened?

Every single version that was published to the site is the default 3 now.

Are you sure it isn’t in a draft?

Have you tried checking your autosaves, if you have autosaves on, it will save the file on an interval, so you can revert to the closest save. (Autosaves are located in Documents - C:\Users\USERNAME\Documents\ROBLOX\AutoSaves)

Why would a draft apply to a module I’m uploading to the site?

I can try

(30 limit)

my guess is that it works the same as publishing an experience, although i might be wrong, its maybe worth to check in drafts

Auto-save was a few minutes off to have it.

Try checking the most recent file, allthough the code won’t be fully complete, it should have the file with at least some of the code in it.

I’ve gone through all the autosaves and various versions of the module, none of them have the code.

have you seen the drafts? just to be sure

No drafts.

30 limit

I just remade the script from scratch, did some minor improvements, sucks that I lost it though. My best guess is that for whatever reason Roblox decided to apply drafts to a private module & not tell me that it was being drafted. Drafts are useful in development teams but does far more harm than good to private devs in my experience…

1 Like