So basically, this script gives the owner (me) a tool from the lightning section, in there is a model called OwnerTools and a tool. The script works fine but.. when ever I die, I just lose the item and I have no idea how to fix this. The script:
game.Players.PlayerAdded:connect(function(player)
if player.userId == game.CreatorId then
player.CharacterAdded:wait()
for i,v in pairs(game.Lighting.OwnerItems:getChildren()) do
v:Clone().Parent = player.Backpack
end
end
end)
-Thanks
