-- Checks if the model that the part is in has been destroyed

local function isModelDestroyed(part, destroyedModels)
	local model = getModel(part)
	for i, destroyedModel in pairs(destroyedModels) do
		if (model == destroyedModel) then
			return true
		end
	end
		
	return false
end
	