function GetSpecificInstances(u,r)local m={}for u,S in pairs(u:GetChildren())do if S:IsA(r)then table.insert(m,S)end end return m end
--returns all of the instances of a specific instance in a model
function GetSpecificInstances(model, type)
	local tab = {}
	for _, v in pairs(model:GetChildren()) do
		if v:IsA(type) then
			table.insert(tab, v)
		end
	end
	return tab
end
