Hello so i have a table of all the pets stored but I do not know how to find the exact number of items in the table is there a built-In-Function for it or something.Here is the script
local PetsFolder = game.Players.LocalPlayer:WaitForChild("PetsFolder")
local Inventory = game.Players.LocalPlayer.PlayerGui.Inventory
local ScrollingFrame = Inventory.LowerInvFrame.ScrollingFrame
while true do
wait(3)
for _, Pet in pairs(PetsFolder:GetChildren()) do
-- see how much items in the petsfolder and for each pet make an instance and assign i 1 to the first image
print(Pet.Name)
end
end