crome60
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 15266 |
|
|
| 29 Aug 2013 08:53 PM |
game.Players.PlayerAdded:connect(function(player) print("A player has entered: " .. player.Name) script.Parent.Name = player.Name.. "'s Warrior" script.Parent.Owner.Value = player.Name script.Parent.Died:connect(function() wait(15) script.Parent:Clone() end) end)
everything is working perfectly except for the onDied-clone thing. |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2013 08:56 PM |
local x = script.Parent:clone();
game.Players.PlayerAdded:connect(function(player) print("A player has entered: " .. player.Name) script.Parent.Name = player.Name.. "'s Warrior" script.Parent.Owner.Value = player.Name script.Parent.Died:connect(function() wait(15) local x = x:Clone().Parent = script.Parent.Parent x:MakeJoints() end) end) |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2013 08:56 PM |
| Is Script.Parent a humanoid? |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2013 08:56 PM |
local x = script.Parent:clone();
game.Players.PlayerAdded:connect(function(player) print("A player has entered: " .. player.Name) script.Parent.Name = player.Name.. "'s Warrior" script.Parent.Owner.Value = player.Name script.Parent.Died:connect(function() wait(15) local x = x:Clone(); x.Parent = script.Parent.Parent x:MakeJoints() end) end) |
|
|
| Report Abuse |
|
|
crome60
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 15266 |
|
| |
|
| |
|