ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 29 Dec 2012 02:29 AM |
plr = "ninja5566" plr.Character.Archivable = true backup = plr.Character:clone() plr.Parent = nil backup.Parent = workspace backup.Humanoid.Died:connect(function(respawn) backup.Parent = Workspace end)
.--. |
|
|
| Report Abuse |
|
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 29 Dec 2012 02:36 AM |
plr = "ninja5566" game.Workspace:findFirstChild(plr).Archivable = true backup = plr:Clone() plr.Parent = nil backup.Parent = workspace backup.Humanoid.Died:connect(function(respawn) backup.Parent = Workspace end)
Try that.
|
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
| |
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 29 Dec 2012 02:48 AM |
plr = "ninja5566" player = game.Workspace:findFirstChild(plr) player.Archivable = true backup = player:Clone() player.Parent = nil backup.Parent = workspace backup.Humanoid.Died:connect(function(respawn) backup.Parent = Workspace end)
|
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
| |
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
| |
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
| |
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
| |
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
| |
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 29 Dec 2012 03:03 AM |
plr = "ninja5566" player = game.Workspace:findFirstChild(plr) player.Archivable = true clone = player:Clone() player.Parent = game.Lighting clone.Parent = game.Workspace
clone.Humanoid.Died:connect(function(respawn) backup = player:Clone().Parent = game.Workspace end) |
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 29 Dec 2012 03:16 AM |
| Yes that works, but only once |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2012 03:29 AM |
local player = game.Players.LocalPlayer local a = player.Character local b = a:Clone() local function respawn() b.Parent = workspace a = b b = b:Clone() a.Humanoid.Died:connect(function() respawn() end) end coroutine.create(coroutine.resume(respawn)) |
|
|
| Report Abuse |
|
|
ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 29 Dec 2012 03:39 AM |
It works my way, but the problem is not the coroutine it's clearly the fact that it wont do it twice..
backup.Parent = workspace a = backup b = backup:clone() a.Humanoid.Died:connect(function(respawn) b.Parent = Workspace end)
doesn't work...
ignore backup.Parent -- I already assigned it. |
|
|
| Report Abuse |
|
|