of     1   

Cshef
#228352803Saturday, December 02, 2017 11:41 PM GMT

Which would I use to get the child from a folder, then clone it to the player's backpack (because it would be a gear). The reason for just getting the child is because I wont know the tool name once its in the folder, so I just need to get the generic child, so like local weapon = workspace.Folder:GetChildren() weapon:Clone().Parent = backpack ik its not like this, just giving an example
Luo_Basics
#228352892Saturday, December 02, 2017 11:44 PM GMT

explain
Cshef
#228352934Saturday, December 02, 2017 11:45 PM GMT

i need to get the child of a folder (which is a weapon) and clone it to a players backpack that was stated
V_PN
#228352968Saturday, December 02, 2017 11:45 PM GMT

local weapon for _,tools in pairs(workspace.Folder:GetChildren()) do if tools:IsA("Tool") then weapon = tools:Clone() weapon.Parent = backpack This would work if you're cloning all the tools in that folder. If there is just one, you can either use :FindFirstChildOfClass() or delete the tool after you cloned it I guess?? #code print('0')
V_PN
#228353002Saturday, December 02, 2017 11:46 PM GMT

I forgot to add the two ends. #code print('0')
Cshef
#228353059Saturday, December 02, 2017 11:48 PM GMT

worked thanks

    of     1