i want to clone my character through server-script, it did work, but there's no accessories and clothes, how to fix that?
plr.CharacterAdded:Connect(function(character)
if plr:GetAttribute("IsMorphed") then
return
end
local existingClone = playerModelFolder:FindFirstChild(plr.Name)
if existingClone then
return
end
local humanoid = character:WaitForChild("Humanoid")
if not character then return end
character.Archivable = true
clonedCharacter = character:Clone()
clonedCharacter.Name = plr.Name
clonedCharacter.Parent = playerModelFolder
end)