Okay, so I am making a game. This game involves classes, and I have it set so when somebody chooses for an item to go into a certain class, those items are cloned to a folder inside that player (game.Players.LocalPlayer). But then when they go to play the game, the items are not being cloned into the player's backpack and I receive the following error; Players.Player1.PlayerGui.Play.TextButton.LocalScript:5: attempt to call method 'Clone' (a nil value) Here is my code;
local ClassOne = game.Players.LocalPlayer:WaitForChild("ClassOne")
script.Parent.MouseButton1Click:connect(function()
local GetItems = ClassOne:GetChildren() -- I need help here,
GetItems:Clone().Parent = game.Players.LocalPlayer.Backpack -- and here.
end)
Any help would go a long way, and is always appreciated. Thanks.

1 comment
Nice doing what I did