UIListLayout Help

Hello everyone!, I have a problem about the UIListLayout

  1. What do you want to achieve? I want to make a UIListLayout that is parented to a frame to list all of the items inside the folder inside the Workspace.

  2. What is the issue? I can’t do it.

  3. What solutions have you tried so far? I looked for some Solution, it didn’t really help me.

Why?

Summary

This text will be hidden

u dont know how to make or it doesnt work ?

I didn’t mean it that way lol. I made a script that gets all the children inside the folder but it only gets one

Use for i, v in pairs() to get all the folders, then clone the names into the frame.

I already did looping for like

for i, v in pairs(workspace.Folder:GetChildren())
    
end

It really did something, sadly it only get’s one random item inside the folder.

Can i see the code? I was regarding the same issue i think so i can help you

Try printing the items in folder if it detects like

for i, v in pairs(game.Workspace.Folder:GetChildren())
    print(v.Name)
end

Already tried that too. It only prints one random item

Show me the folder please because i dont know where is the problem

I will. I’m currently on phone now lol. So I can’t do it now.

here it is…

-- Local Script
local button = script.Parent
local bots = workspace.Bots
local db = script.Parent.Debounce
local event = button:WaitForChild("Event")

button.MouseButton1Click:Connect(function()
	local stopped = bots.Stopped
	local running = bots.CanRun
	if db.Value == false then db.Value = true
		event:FireServer(stopped, running)
		button.Text = "✓"
	else
		button.Text = " "
		db.Value = false
	end
end)

-- Server Script
local event = script.Parent:WaitForChild("Event")
local db = script.Parent.Debounce
event.OnServerEvent:Connect(function(plr, anchor, run)
	if not anchor.Value and run.Value and db.Value == true then db.Value = false
		anchor.Value = true
		run.Value = false
	else
		anchor.Value = false
		run.Value = true
		db.Value = true
	end
end)

--Server Script (isAnchored), this is the script that is located inside the bot
local stopped = script.Parent.Parent.Stopped

if stopped.Value == true then
	root = script.Parent:WaitForChild("HumanoidRootPart")
	root.Anchored = true
else
	root.Anchored = false
end

Do you have any errors in output?

No, I don’t have any, (charss)

Can you show me the folder so if its not problem in this