So I'm coding a security scanner where it sends the tools a player has to a gui.
Yesterday I finished coding it so that instead of going straight into a text value it just prints it and I thought i'd make it go into a text value tomorrow.
I finished coding it today but now when it goes into a text value it only has the first text value.
for i = 1,#c do
if c[i]:IsA("Tool") then
if i == #c then
table.insert(backpack, c[i].Name)
else
table.insert(backpack, c[i].Name..", ")
end
end
end
--print(unpack(backpack)) -- this works but the one at the bottom won't?
local gui = occupant.PlayerGui.StaffGui
gui.Frame.PlrName.Text = plrname
gui.Frame.AccAge.Text = age
gui.Frame.Tools.Text = unpack(backpack) -- this is where it breaks, only outputs one value
Any help? Thanks!

3 comments
forgot to label line 16, but that's where the issue occours
I hope my answer brings you some insight:)
It does, thanks!