Is it possible to clone values in a table at all? I tried simply using the :Clone() function, but it doesnt seem to support table values. So, does anyone happen to know a function with the capabilities of cloning values in a table? This is the table below in my script. Help is greatly appreciated! :)
local plr = game.Players.LocalPlayer local ShopTools = plr.Backpack:WaitForChild("BoughtTools"):GetChildren():Clone() table.foreach(ShopTools, function(i, v) v.Parent = plr.Backpack end)

2 comments
Yes this did help! The only problem is that the loop only runs on studio, but when its published and played on Roblox's server, it just breaks the script.
Welp, that's another problem! You'll have to post that as another question and provide some more info! Glad to hear I helped. Be sure to accept my answer if you think it's worthy.