How to make external objects of the character visible in the first person?

well, I have an error and it is that I try to make when adding external objects to the character they are visible, but the script gives an error and does not work

--this script is located in StarterCharacterScripts
    local Tronco = script.Parent:FindFirstChild("Tronco")
    local RamaGrande = script.Parent:FindFirstChild("RamaGrande")

    local items = {Tronco or RamaGrande}

    if items then
    	if table.find(items:IsA("BasePart")) then
    		items.LocalTransparencyModifier = items.Transparency
    		items:GetPropertyChangedSignal("LocalTransparencyModifier"):Connect(function()
    			items.LocalTransparencyModifier = items.Transparency
    		end)
    	end
    end

Knowing the error will help figuring out what is wrong.