Zahkrisos
|
  |
| Joined: 11 Aug 2009 |
| Total Posts: 962 |
|
|
| 07 Feb 2015 10:46 PM |
game.Players.PlayerAdded:connect(function(_) for _,v in next,_:WaitForChild'Backpack'do v:clone''.Parent=_.StarterGear end _:WaitForChild'Backpack'.ChildAdded:connect(function(obj) if not(_.StarterGear(obj.Name))then obj:clone''.Parent=_.StarterGear end end) _:WaitForChild'Backpack'.ChildRemoved:connect(function(obj) if(_.StarterGear(obj.Name))then _.StarterGear(obj.Name):Destroy'' end end) end)
|
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 07 Feb 2015 10:51 PM |
This is a bit overcomplicated game.Players.PlayerAdded:connect (function (player) player:WaitForChild ("Backpack").ChildAdded:connect (function (child) if child:IsA ("Tool") then -- hey, some people put scripts in here for some reason child.Parent = player:WaitForChild ("StarterPack") -- or clone it if adding to StarterGear doesn't clone itself to the backpack end end)
that script you have wouldn't save a tool if the player was holding it when they died. |
|
|
| Report Abuse |
|
|
Zahkrisos
|
  |
| Joined: 11 Aug 2009 |
| Total Posts: 962 |
|
|
| 07 Feb 2015 10:57 PM |
That's weird...
The one you gave me doesn't' work either. |
|
|
| Report Abuse |
|
|
Zahkrisos
|
  |
| Joined: 11 Aug 2009 |
| Total Posts: 962 |
|
| |
|
Zahkrisos
|
  |
| Joined: 11 Aug 2009 |
| Total Posts: 962 |
|
| |
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 09 Feb 2015 08:02 PM |
then you might wanna tell me what the output says either that or it's not working because you're not believing hard enough |
|
|
| Report Abuse |
|
|