generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: not working, no output

Previous Thread :: Next Thread 
ninja5566 is not online. 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 is not online. 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 is not online. ninja5566
Joined: 14 Jan 2009
Total Posts: 5233
29 Dec 2012 02:48 AM
Didn't work//
Report Abuse
noah is not online. 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 is not online. ninja5566
Joined: 14 Jan 2009
Total Posts: 5233
29 Dec 2012 02:54 AM
That's not going to work.
Report Abuse
noah is not online. noah
Joined: 11 Sep 2006
Total Posts: 18977
29 Dec 2012 02:56 AM
did u liek try it
Report Abuse
ninja5566 is not online. ninja5566
Joined: 14 Jan 2009
Total Posts: 5233
29 Dec 2012 02:56 AM
yus
Report Abuse
noah is not online. noah
Joined: 11 Sep 2006
Total Posts: 18977
29 Dec 2012 02:58 AM
qq
Report Abuse
ninja5566 is not online. ninja5566
Joined: 14 Jan 2009
Total Posts: 5233
29 Dec 2012 02:59 AM
1337 post
Report Abuse
noah is not online. 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 is not online. ninja5566
Joined: 14 Jan 2009
Total Posts: 5233
29 Dec 2012 03:16 AM
Yes that works, but only once
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image