Discord
Login
Community
DARK THEME

Get a function's actual code from the console debugger instead of just [function]

I have several functions which I no longer have access to the source code of, but are still accessible via debug tools. See below for the details of how I ended up in this scenario; for now I'm just curious how I can fix it, ideally ASAP.

Is there literally any way for me to get the source code of that function, or something that I can turn into the source code? Because trying to get it via the console, like I would read the value of a variable, just returns [function].

Context: I deleted one of my source files while intending to delete a mostly empty file I was using to consolidate todo comments. I accidentally hit confirm. I still have the program from before I did that running, though. I last saved a backup a week ago... so before I wrote 90% of the code I just accidentally deleted.

PLEASE DON'T REPLY WITH "I DON'T KNOW HOW TO FIX THIS" OR "LOL" OR "SKILL ISSUE" OR SOMETHING, ONLY REPLY WITH ACTUAL ANSWERS THANKS

UPDATES

https://ibb.co/mV5JRY5q screenshot of what i mean

for i in function print(i) end only returns a long list of [native function]

never mind... closed the tab by mistake... time to start coding i guess T_T

I dont know how to fix this... Because you litterly cant.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community