i want t make a tree that is cut when a specific tool is equipped

view source

1 require(game.players.backpack.axe) 2 3 if axe then 4 tree.anchored=false 5 end the script doesent work