roblox clone character
--Roblox characters are by default Archivable = false
--You need it Archivable = true to close it
local character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
local archivable = character.Archivable
character.Archivable = true
local clone = character:Clone()
character.Archivable = archivable
clone.Parent = headerAvatar