Splitting a function

I don’t know you can try using getfenv, most obfuscators use it.

local env = getfenv()
local load = env[table.concat({'load', 'string'})]
print(load('return 1')())

People can also replace the getfenv function, so wouldn’t work well.
Edit: Doesn’t work, just tested it out.

1 Like