Advertisement
iiDeadzone

_G,(getfenv())

Jul 30th, 2015
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. print(getfenv());
  2.  
  3. local a,b,c;
  4.  
  5. function a()
  6. function b()
  7. function c()
  8. setfenv(b,{});
  9. end;
  10. c();
  11. end;
  12. b();
  13. end;
  14.  
  15. a();
  16.  
  17. print(getfenv(c))
  18. print(getfenv(1))
  19. print(getfenv(2))
  20. print(getfenv(3))
  21. getfenv(3).print'asd'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement