Possible to scan game to find objects with name from module script

image

these are copy pasted from the module script too

image
image

Everything is working on my end.

Does it not scan for any object like scripts or only models?

image

image

Created a new script which contains the default print line.

Can you send what code your using?

image

Ignore ā€œMainServerā€.

local virusModule = require(script.ModuleScript) --Change the path to the ModuleScript instance here.

for _, Object in ipairs(game:GetDescendants()) do
	if table.find(virusModule, Object.Name) then
		print(Object.Parent)
	end
end

The ModuleScript is the same as the one you provided.

does the script have to be in serverscriptservice?

No, but I canā€™t assist you with debugging any further, sorry.