Sword Not equipping when in Backpack

So i made a script where when you click a button to buy a sword.Parent = player.Backpack which it does but for some reason he isnt holding it or anywhere on screen when the Sword is in the Players Backpack

1 Like

When you do sword.Parent = player.Backpack it puts the sword in the players backpack. When the player is holding an item then it is a child of the player’s Character so do sword.Parent = player.Character instead.

1 Like