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.