function FpsCamera.SetupTransparency(z,Q,...)assert(z~=FpsCamera)z:BaseSetupTransparency(Q,...)if z.AttachmentListener then z.AttachmentListener:Disconnect()end z.AttachmentListener=Q.DescendantAdded:Connect(function(Q)if Q:IsA("\065\116\116\097\099\104\109\101\110\116")and z.HeadAttachments[Q.Name]then z.cachedParts[Q.Parent]=true z.transparencyDirty=true end end)end
-- This is an overloaded function for TransparencyController:SetupTransparency(character)
-- Do not call directly, or it will throw an assertion!

function FpsCamera:SetupTransparency(character, ...)
	assert(self ~= FpsCamera)
	self:BaseSetupTransparency(character, ...)

	if self.AttachmentListener then
		self.AttachmentListener:Disconnect()
	end

	self.AttachmentListener = character.DescendantAdded:Connect(function(obj)
		if obj:IsA("Attachment") and self.HeadAttachments[obj.Name] then
			self.cachedParts[obj.Parent] = true
			self.transparencyDirty = true
		end
	end)
end
