1 | local Tools = script.Tools:GetChildren() |
2 | ToolC = Tools:Clone() -- This does not work, how do make the clone working??? |
3 | TooC = Player.Backpack |
The above is a quick script I wrote it is not fully completed but those who know how to script will understand this.
GetChildren returns a table. You have to iterate throughout the table and clone each individual one to the player.
1 | for _, Tool in next , Tools:GetChildren() do |
2 | Tool:Clone().Parent = Player.Backpack |
3 | end |