turtle = t -- declare turtle to be variable "t" to decrease redundant coding while true do t.place() -- places bonemeal on tree if t.detectUp() then -- seeing if theres a tree in front of turtle t.dig() --breaks the tree bro trust end end