I'm trying to make it so your items save to your StarterGear so you'll respawn with the same items you had when you died. The problem is simple. CharacterAdded isn't firing... which obviously means chr.ChildAdded isn't firing either. Why?
function AddTool(plr, obj)
print(obj:GetFullName())
if obj:IsA("Tool") or obj:IsA("HopperBin") and not plr.StarterGear[obj.Name] then
obj:Clone().Parent = plr.StarterGear
end
end
game.Players.PlayerAdded:connect(function(plr)
local bp = plr:WaitForChild("Backpack")
bp.ChildAdded:connect(function(obj)
AddTool(plr, obj)
end)
plr.CharacterAdded:connect(function(chr)
print("CharacterAdded")
chr.ChildAdded:connect(function(obj)
print("Child Added")
AddTool(plr, obj)
end)
end)
end)

3 comments
Same. I hate IPads. We want keyboards! Give us a Mac!
Thank you so much! Also, can you link to where the wiki says that for future reference?
Second "paragraph" down, http://wiki.roblox.com/index.php?title=API:Class/Backpack