print('| Demoxhop Basic Detection GhostX | ')
print('discord.gg/demoxshop')
CreateThread(function()
    local numResources = GetNumResources()

    for i = 0, numResources - 1 do
        local resourceName = GetResourceByFindIndex(i)

        if resourceName then
            local manifest = LoadResourceFile(resourceName, "fxmanifest.lua")

            if manifest then
                local m = manifest:lower()

                local found = {}

                if m:find("configsv.lua", 1, true) then
                    table.insert(found, "configsv.lua")
                end

                if m:find("servercustom.lua", 1, true) then
                    table.insert(found, "servercustom.lua")
                end

                if #found > 0 then
                    print("^1[DETECT]^7 Resource: ^3" .. resourceName .. "^7")
                end
            end
        end
    end
end)
