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
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 to local 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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
hey