Yea there’s no real good solution beyond the obvious. The closest real solution we have is with using getfenv()
but that disables optimizations and apparently has issues between modulescripts
i know this is a late reply, but you can just do the following:
local function My_Function()
return "Example"
end
local func_name = debug.info(My_Function, "n")
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.