Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Proxy =newproxy(true) --Userdata
- local Meta =getmetatable(Proxy) -- table
- local OldEnv=getfenv()
- local OxEnv;
- function Meta:__tostring() -- Breaks into oxsb
- OxEnv =getfenv(3) -- Returns OxEnv ( OxEnv.require() == "require not white listed assetId" ) meaning theres a forth env
- return "Got OxEnv"
- end
- print(Proxy, Meta)
- table.foreach(OxEnv, print)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement