function FpsCamera.OnCharacterAdded(F,X)local e=F.MirrorBin if e then e:ClearAllChildren()e.Parent=nil end F.HeadMirrors={}for X,e in pairs(X:GetDescendants())do F:AddHeadMirror(e)end F:Connect("\065\100\100\072\101\097\100\077\105\114\114\111\114",X.DescendantAdded)F:Connect("\082\101\109\111\118\101\072\101\097\100\077\105\114\114\111\114",X.DescendantRemoving)end


function FpsCamera:OnCharacterAdded(character)
	local mirrorBin = self.MirrorBin
	
	if mirrorBin then
		mirrorBin:ClearAllChildren()
		mirrorBin.Parent = nil
	end
	
	self.HeadMirrors = {}
	
	for _,desc in pairs(character:GetDescendants()) do
		self:AddHeadMirror(desc)
	end
	
	self:Connect("AddHeadMirror", character.DescendantAdded)
	self:Connect("RemoveHeadMirror", character.DescendantRemoving)
end
