basically, i have a shop and when players buy an item from it, the item is put into a folder in the player's backpack named "BoughtTools." This is so a script can call out the weapons at any time it likes, and to keep the player from having their weapons in the lobby or just outside the game round in general. But, for some reason, i call out the items in this folder and it does nothing. Its does not give me an error or anything. This is the script below. Do i need to change the parent in any way? Could anyone please tell me whats wrong with it and correct the error? Help is GREATLY appreciated! :)
local plr = game.Players.LocalPlayer
local ShopTools = plr.Backpack.BoughtTools:GetChildren()
local ClonedTools = ShopTools:Clone()
ClonedTools.parent = plr.Bacpack
-TheBlazingMinatour

2 comments
Thanks! Everthing works only if i remove the :Clone() function tho. It gives me the error, "14:40:52.425 - Workspace.GameScript:67: attempt to call method 'Clone' (a nil value)" Would anyone know how to fix this error?
Oh, my bad. Remove the "