Scrolling frame not showing objects in it

i’m making an inventory system for my game put when i add a Button inside a scrolling frame through a script it don’t show.

screenshot of the scrolling frame:

code:

for i,Item in pairs(Player.Values.Inventory:GetChildren()) do
	local ButtonClone = script.ItemButton:Clone()
	ButtonClone.Parent = ScrollingFrame
	ButtonClone.Text = Item.Name
end
1 Like

Horizontal Scrolling Frame is Very glitch :skull: … Use a frame with UIGridLayout

Turning TextButton Visible = false.: and true. The UiGridLayout Center the buttons In the frame.

i need to use a scrolling frame because there are a lot of buttons

Do you have an idea of what Inventory is going to look like?

like this: