local player = game.Players.LocalPlayer
local character = game.Players.LocalPlayer.Character
character.ChildAdded:Connect(function(tool)
if tool:IsA("Tool") and tool.Name:is("sharpness") then
player.Backpack.ClassicSword:Destroy()
game.ServerStorage.ClassicSword2:Clone().Parent = player.Backpack
end
end)
I don't fully understand why this script isn't working- I'm trying to make it so that when "sharpness" is equipped, "ClassicSword" is deleted from the player's backpack and "ClassicSword2" is cloned into their backpack. Why isn't my script working?
