Pretty printing a getfenv table into output

If you just want to see it in studio you can enable the beta feature in File > Beta Features and look for Expressive Output Window beta. Otherwise that, or use repr.

By the way this seems pretty pointless considering exploiters don’t inject their variables into your scripts, and if this is an attempt at detecting changes in globals, exploiters can just hookfunction getfenv and make it return the table of the old environment before the changes were made.

2 Likes