I'm trying to make a script that moves all of the children of the folder
script.Character
into
newPlayer.Character
(which is the player character). The code I have right now does not do anything. How would I move all children on my folder into the character?
game.Players.PlayerAdded:connect(
function(newPlayer)
newPlayer:WaitForChild("PlayerGui")
local PlayerGuiFolder = script.Player.PlayerGui:clone()
PlayerGuiFolder.Parent = newPlayer.PlayerGui
local character = script.Character:GetChildren()
character.Parent = newPlayer.Character
end

2 comments
The contents of the folder are moved somewhere, but not to the player. In fact, I can't find them anywhere
Are you sure? Any errors in the output? The script seems perfectly fine for me. @Daanni