Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Cloning a character and parenting it to workspace? Problem is Model gets cloned but nothing inside

Ok so let me explain.

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()

Character.Archivable = true

local charclone = Character:Clone()

charclone.Parent = workspace

When I run this script it works but the problem is that inside the Model I cloned there's nothing in it and I mean nothing like its empty

I want things like humanoid and humanoidrootpart in it but theres nothing

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()

Character.Archivable = true
wait(5)
local charclone = Character:Clone()

charclone.Parent = workspace

however when I wait a few seconds it works perfectly

is there any way I can do this without using wait and what am I doing wrong

1 answer

I'm pretty sure that cloning a player's avatar directly through Player.Character is impossible. Try duplicating an empty grey dummy rig and inserting the player's distinct features through accessory and shirt instances instead.

This discussion is preserved as it was. New answers, comments, and votes are closed.