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?
Put it in the player starterpack. You prob only put it in the player backpack.
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:
1 | game.Players.PlayerAdded:Connect( function (player) |
2 | player.CharacterAdded:Connect( function (character) |
3 | -- put the darn dang tools in their backpack |
4 | end ) |
5 | end ) |