I'm making a incinerator where if you hold a a specific tool (BOX) it will destroy it but for some reason this script doesn't mark anything , the output doesn't say anything please help ?
local box = game.Workspace.BOX
local thing = script.Parent
local player = game.Players.LocalPlayer
thing.Touched:Connect(function()
if player.Backpack:FindFirstChild("BOX") then
box:Destroy()
print("Removed the players Item")
else if player.Backpack.Box ==false then
player.Backpack.BOX = false
end
end
end)
PS this is a local script BTW

2 comments
What is the variable at the top?
The tool