I was trying to remove a sword even when the player equipped it. Here is the code I typed in:
for _,Player in pairs(game.Players:GetPlayers()) do
local sword = Player.Backpack:FindFirstChild('ClassicSword')
if sword then
sword:Destroy()
end
end
I tested it but didn't work. In Explorer, there was nothing in BackPack (which could be found in Player). But the sword was still in the player's hand. What should I do? (If this question was answered, pls send me a link to it)

1 comment
Thank you! The script worked! And you also made me learn something new!