How to check if torniquet is a child of left arm if it is, destroy it

  1. I want to check if torniquet is a child of left arm and if it is then destroy it.

  2. Won’t work by doing findfirstchild.

	local p = character
	print(character)
	--if character["Left Arm"]:FindFirstChild("Torniquet") then
		--character["Left Arm"]:FindFirstChild("Torniquet"):Destroy()
		--else

	local weld = Instance.new("WeldConstraint")
	local clone = game.ReplicatedStorage["Torniquet"]:Clone()
	--clone.CFrame = p.Character["Left Arm"].CFrame * CFrame.new(0,0,-20)

	--clone.CFrame = player.Character["Left Arm"].CFrame * Vector3.new(0,0,0)
	clone.CFrame = character["Left Arm"].CFrame * CFrame.Angles(0,math.rad(90),0)


	clone.Parent = character["Left Arm"]
	weld.Part0 = character["Left Arm"]
	weld.Part1 = clone
		weld.Parent = character
	
	end
		)
		
	


		
	

please explain more. Why won’t it work by doing FFC?

try this

local p = character
	print(character)
	if character["Left Arm"]:FindFirstChild("Torniquet") then
		character["Left Arm"]:FindFirstChild("Torniquet"):Destroy()
	end

	local weld = Instance.new("WeldConstraint")
	local clone = game.ReplicatedStorage["Torniquet"]:Clone()
	--clone.CFrame = p.Character["Left Arm"].CFrame * CFrame.new(0,0,-20)

	--clone.CFrame = player.Character["Left Arm"].CFrame * Vector3.new(0,0,0)
	clone.CFrame = character["Left Arm"].CFrame * CFrame.Angles(0,math.rad(90),0)


	clone.Parent = character["Left Arm"]
	weld.Part0 = character["Left Arm"]
	weld.Part1 = clone
		weld.Parent = character
	
	end
		)

FindFirstChild has a deep search option.

local Obj = character:FindFirstChild(“Torniquet”, true)

As long as your character isn’t null at any point this should find any object called Tourniquet within the character.

this guy prob trolling us hes not replying or anything and this topic is DUMB