the problem is that it change the text to the same "v.Value" and i want it to change to all the childrens of "t" not just one of them
local t = game.Workspace.Jobs:GetChildren() for i, v in ipairs(t) do while true do wait(.1) script.Parent.Text = "("..v.Value..", "..v.Value..", "..v.Value..", "..v.Value..", "..v.Value..")" end end
Here's my solution, using table.concat and a secondary table.
local Jobs=workspace.Jobs:GetChildren() local Names={} for i,v in pairs(Jobs) do table.insert(Names,v.Value) end print("Jobs: "..table.concat(Names)..".")