Hello, I am attempting to respawn my original character to my current one.
What have I done to get to this point? ` - I have created a morph button, changing my character to a model I put in
- Changed it's name
- Repositioned it to my old character's CFrame`
-- Scriptwise
script.Parent.ButtonA.MouseButton1Click:Connect(function()
local Player = game.Players:WaitForChild("bostaffmanbulgaria1")
local OldCharacter = game.Workspace[Player.Name]:Clone()
OldCharacter.Parent = script
local NewChar = game.ReplicatedStorage.Dummy:Clone()
NewChar.Name = Player.Name
NewChar:SetPrimaryPartCFrame(game.Workspace[Player.Name]:FindFirstChild("HumanoidRootPart").CFrame + Vector3.new(0, 5, 0))
Player.Character = NewChar
NewChar.Parent = game.Workspace
end)
**What I am trying to accomplish? **
I'm trying to revert my old character back in the same way as I morphed it.
What I have done so far?
- Cloned my old character before any code regarding character change being ran
- result: ERROR: Players.bostaffmanbulgaria1.PlayerGui.ScreenGui.Script:4: attempt to index nil with 'Parent'
I did **not ** find any information about this in Google.

1 comment
Thanks a lot. I never thought of the Archivable property to be disabled.