Help with inventory system

I want it so that when I open my inventory GUI all the stuff in my inventory folder gets put in there. How would I do that?

I guess you will have to go through an array of the inventory objects and have slots to where to add them.

1 Like

Do you happen to know how to do that because I have never really done something like this and I’m not sure what to do.

1 Like

I am also introducing an inventory system to my game, so I can’t really be certain before completing my own

Watch a tutorial on youtube, you’l learn something!

You can do this by watching the visible of the ui by connecting with getpropertychanged

inventoryGUI:GetPropertyChangedSignal('Visible'):Connect(function()
	if inventoryGUI.Visible then
		--- in here add a for loop to generate the items and place them in your ui list
	else
		-- in here run a for loop or clear all children to remove the items that were created 
	end
end)