Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print(getfenv());
- local a,b,c;
- function a()
- function b()
- function c()
- setfenv(b,{});
- end;
- c();
- end;
- b();
- end;
- a();
- print(getfenv(c))
- print(getfenv(1))
- print(getfenv(2))
- print(getfenv(3))
- getfenv(3).print'asd'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement