Players.PlayerAdded:connect(function(e)e.CharacterAdded:Connect(function(e)local function C(e)if e:IsA("\066\097\115\101\080\097\114\116")then PhysicsService:SetPartCollisionGroup(e,"\080\108\097\121\101\114\115")end end e.ChildAdded:Connect(C)for e,D in pairs(e:GetChildren())do C(D)end end)end)
--Connect any players that are added to the game to above 'NewPlayer' function
Players.PlayerAdded:connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		--Run on every part that is added to the character
		local function ChangeGroup(Part)
			if Part:IsA("BasePart") then --Make sure we're dealing with any type of part
				PhysicsService:SetPartCollisionGroup(Part, "Players") --Set the part's collision group
			end
		end

		--Run above function on any parts that are added to the character from this point
		Character.ChildAdded:Connect(ChangeGroup)

		--Run above function on any parts that may already exist
		for _, Object in pairs(Character:GetChildren()) do
			ChangeGroup(Object)
		end
	end)
end)
