Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Scripts inside starterpack disappear after player dies. How can I prevent this?

Asked by 3 years ago

I'm currently trying to load in a player's powers by cloning them from serverstorage to the player's backpack. It works, but when the player dies they disappear. How can I fix this?

2 answers

Log in to vote
1
Answered by 3 years ago

Put it in the player starterpack. You prob only put it in the player backpack.

0
I put it in the backpack. Can you put it in a player's starterpack from a server script? XxWingKing 96 — 3y
0
Players have Backpack and StarterGear (which is inside the player), StarterGear is like a starterpack, but for an individual player, so you would only need to put it in the StarterGear FurryPapal 90 — 3y
0
Player would need to respawn to get the tools, but you could make it so the players get the tool to their backpack and their startergear at the same time FurryPapal 90 — 3y
0
sry i said tool but i really anything could be in the backpack/startergeat FurryPapal 90 — 3y
View all comments (2 more)
0
you get what i mean FurryPapal 90 — 3y
0
I did try that. But it only went to either backpack or startergear. Wouldn't go to both. How could I fix that? XxWingKing 96 — 3y
Ad
Log in to vote
0
Answered by
Koriyoc 20
3 years ago

You should probably just use a .CharacterAdded event so when the player respawns, you can select specific tools to add to their backpack again. As I recall, you can use .CharacterAdded and it will fire each time a character is added.

However, you could do a script like this:

game.Players.PlayerAdded:Connect(function(player)
       player.CharacterAdded:Connect(function(character)
             -- put the darn dang tools in their backpack
       end)
end)

0
i tried it dont work XxWingKing 96 — 3y

Answer this question