local function Y(p,r)if p:IsA("\066\097\115\101\080\097\114\116")then PhysicsService:SetPartCollisionGroup(p,r)end for p,b in ipairs(p:GetChildren())do Y(b,r)end end

local function setCollisionGroupRecursive(object, group)
	if object:IsA("BasePart") then
		PhysicsService:SetPartCollisionGroup(object, group)
	end
	for _, child in ipairs(object:GetChildren()) do
		setCollisionGroupRecursive(child, group)
	end
end
