Cloning the players character

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Cloning the players character
  2. What is the issue? Include screenshots / videos if possible!
    When cloning and parenting the cloned character to workspace it brings up this error : attempt to index nil with ‘Parent’
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Nope, couldn’t find any solutions
local Character = plr.Character
			local Clone = Character:Clone()
			
			Clone.Parent = workspace
1 Like

Found one:

2 Likes

Characters automatically have their Archivable property set to false, which makes :Clone() return nil.
To fix this, set Character.Archivable to true

local Character = plr.Character
Character.Archivable = true
local Clone = Character:Clone()
			
Clone.Parent = workspace
6 Likes