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
CellBlT
(SuperPengo)
August 30, 2023, 1:08pm
#2
Horizontal Scrolling Frame is Very glitch … Use a frame with UIGridLayout
CellBlT
(SuperPengo)
August 30, 2023, 1:10pm
#3
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
CellBlT
(SuperPengo)
August 30, 2023, 1:23pm
#5
Do you have an idea of what Inventory is going to look like?