local z=0 for T,f in pairs(Pets:GetChildren())do if f.Equipped.Value==true then z=z+1 end end;(Data.MaxStorage:GetPropertyChangedSignal("\086\097\108\117\101")):Connect(function()StorageText.Text=#Pets:GetChildren()..("\047"..Data.MaxStorage.Value)end);(Data.MaxEquip:GetPropertyChangedSignal("\086\097\108\117\101")):Connect(function()EquippedText.Text=z..("\047"..Data.MaxEquip.Value)end)StorageText.Text=#Pets:GetChildren()..("\047"..Data.MaxStorage.Value)EquippedText.Text=z..("\047"..Data.MaxEquip.Value)


local Equipped = 0

for i,v in pairs(Pets:GetChildren()) do
	if v.Equipped.Value == true then
		Equipped = Equipped + 1
	end
end

Data.MaxStorage:GetPropertyChangedSignal("Value"):Connect(function()
	StorageText.Text = #Pets:GetChildren() .. "/" .. Data.MaxStorage.Value
end)

Data.MaxEquip:GetPropertyChangedSignal("Value"):Connect(function()
	EquippedText.Text = Equipped .. "/" .. Data.MaxEquip.Value
end)

StorageText.Text = #Pets:GetChildren() .. "/" .. Data.MaxStorage.Value
EquippedText.Text = Equipped .. "/" .. Data.MaxEquip.Value
