This is what i'm supposed to do: After you spawn, your body parts are still there.
game.Players.CharacterAutoLoads = false game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) local h = character:FindFirstChild("Humanoid") if h then h.Died:connect(function() wait(5) local clone = h.Parent:Clone() clone.Parent = game.Workspace player:LoadCharacter() end) end end) player:LoadCharacter() end)
However, I get this error: ServerScriptService.Script:10: attempt to index local 'clone' (a nil value)
...and then it won't clone and spawn me back in.
Am I doing something wrong here?