Example , If the player has a LeverHolder, and He clicked on the broken lever, the broken lever will be fix and his level in his inventory will dissapear? can anyone help?
I also tried
script.Parent.ClickDetector.MouseClick:Connect(function()
local player = game.Players.LocalPlayer
player.Backpack:WaitForChild("Lever"):Destroy()
end)

2 comments
great answer
Thanks so much!