I was trying to remove the HopperBin in user's inventory using the following script:
game.Players.PlayerAdded:Connect(function(player) for i,v in pairs(player.Backpack:GetChildren()) if v:IsA("HopperBin") then v:Destroy() end end end)
Instead of removing, it does nothing. Any help would be great!
1st of all, you should try it when the Character is added. Tools and such do not go straight to the backpack, it waits until the character is added and then adds tools to the backpack.
2nd of all, I wouldn't use HopperBins to begin with, as they're deprecated (use tools).