How To Find "nil" Instances

I think that I have found a way to read “nil” instances:

My test:

Put one script in ServerScriptService and have its code as script:Destroy().
Put another script in ServerScriptService and have its code as:

wait()
for i,v in pairs(getfenv(0, game)) do
	v:Clone().Parent = workspace
end

Then run the game.
You should see that in workspace there is the script that was destroyed.

Edit:
Scrap everything that I have just written, it turns out that it actually returns the current script (script two).

Feel free to comment anything that could help in any way.

6 Likes

This topic was automatically closed after 1 minute. New replies are no longer allowed.