local character: Model = owner.Character or owner.CharacterAdded:Wait()
local humanoid: Humanoid = character:WaitForChild("Humanoid")
local rigType = humanoid.RigType.Name
local assets = LoadAssets(15850367496)
local newCharacter: Model = assets:Get(rigType):Clone()
newCharacter.Name = character.Name
local char = newCharacter:Clone()
if character.PrimaryPart then
char:PivotTo(character.PrimaryPart.CFrame)
end
if character:FindFirstChild("Animate") then
character.Animate:Clone().Parent = char
end
owner.Character = char
char.Parent = workspace