How to force disable Cancollide = false on player limb

Full script

function AddedBodyLimb()
	for i, v in pairs(character:GetChildren()) do
		local findAtribbute = v:GetAttribute("BodyLimb")
		if findAtribbute then
			table.insert(BodyLimb, v)
		else

		end
	end
end

function isTrue()                        --Trigger
	character.Humanoid.AutoRotate = false
	character.Humanoid.PlatformStand = true
	for val, part in pairs(Collision) do
		part.CanCollide = true
	end
	for i, v in pairs(Motor6DTorso) do
		v.Enabled = false
	end
	print(BodyLimb)
	for i, v in pairs(BodyLimb) do
		v.CanCollide = false                  --The problem part
	end
	character.HumanoidRootPart:SetNetworkOwner(get_character)
	NetworkBodyLimb()
end

What the scripts do is basicly just add all limb to the table and setting every limb to cancollide = false for ragdoll purposes

Problem

The only limb that has set to cancollide = false is the head
The character is R6

i suggest reading this

just use collisionsgroups

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.