local z=require(((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")):WaitForChild("\114\098\120\116\115\095\105\110\099\108\117\100\101")):WaitForChild("\082\117\110\116\105\109\101\076\105\098"))local w=(z.import(script,game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101"),"\084\083","\099\111\109\112\111\110\101\110\116\115")).Renderable local function l(z,l)for l,b in z:query(w)do if not b.model:IsDescendantOf(game)then z:remove(l,w)end end for z,w in z:queryChanged(w)do if w.old and(w.old.model and not w.new)then w.old.model:Destroy()end end end return l
-- Compiled with roblox-ts v2.1.0
local TS = require(game:GetService("ReplicatedStorage"):WaitForChild("rbxts_include"):WaitForChild("RuntimeLib"))
local Renderable = TS.import(script, game:GetService("ReplicatedStorage"), "TS", "components").Renderable
local function renderable(world, _)
	for id, model in world:query(Renderable) do
		if not model.model:IsDescendantOf(game) then
			world:remove(id, Renderable)
		end
	end
	for _id, model in world:queryChanged(Renderable) do
		if model.old and (model.old.model and not model.new) then
			model.old.model:Destroy()
		end
	end
end
return renderable
