i want t make a tree that is cut when a specific tool is equipped
require(game.players.backpack.axe) if axe then tree.anchored=false end
the script doesent work
You need tolocal
ise the variable and make a function
Here is an example
local axe = require(game.Players.Backpack.axe) local tree = game.Workspace.tree axe.Activated:Connect(function() tree.Anchored = false end)