While attempting to make some sort of anti-hack stuff, I wanted to get all global variables from getfenv(2) (the caller) to find a key to inorder to actually call the function. The only ways I'm aware of are possible are debug.getupvalue and debug.getlocals, but they don't exists in Roblox's sandboxed lua.
COMMUNITY QUESTION
Any possible way to get local variables from an environment?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
