How would i go about stopping a function if an accessory with a certain name is found

this is my 3rd time asking for help, and i keep getting ignored. i dont even know why.
im currently using this if statement, but it doesnt seem to do anything even though the accessory is present.

	if target:FindFirstChild("Blocking") then
		return "blocked"
		end
	end

please help itd be greatly appreciated, ive been trying to fix this for 3+ hours

something like this


local Bads = {"Accessory1"}

if table.find(Bads,target.Name) then return "failed" end 
	if target:FindFirstChild("Blocking") then
		return "blocked"
		end
	end

This is poor scripting, since I don’t have the full script; I can’t give a better detailed script.