How to find archived assets in Roblox studio

Hello,

I was using an item that wasn’t created by me and the original developer has decided to archive it. So I get the following error when opening the project in Roblox Studio:

unnamed

The problem is… I have no clue what the actual asset is! There are thousands of assets in the project, so how can I figure out which asset it is so that I can delete it (or design my own version)?

I have tried everything I can think of and can’t find it.

Thanks,
Smyrki

Run this in the cmd bar:

for i, v in ipairs(game:GetDescendants()) do
    if v:IsA("ImageLabel") or v:IsA("ImageButton") or v:IsA("Decal") then
        if v.Image = "rbxassetid://3647393473" then
            local e = Instance.new("Folder")
            e.Name = "Found Asset"
            e.Parent = game.ServerStorage
            v.Parent = e
        end
   end
end

This might or might not work.

Building off what previous person said… this worked for me:

decalNum = "3647393473";

function check4property(obj, prop)
	return ({pcall(function()if(typeof(obj[prop])=="Instance")then error()end end)})[1]
end

for i, v in ipairs(game:GetDescendants()) do
	if(v ~= nil) then
		if (check4property(v, "Image")) then
			if string.find(v.Image, decalNum) then
			local e = Instance.new("Folder")
				e.Name = "Found Asset"
				e.Parent = game.ServerStorage
				v.Parent = e
				print("Found it")
				print(e.Parent)
				
			end
		end
	end
end
1 Like