Im guessing you could add an “On fire” tag to every wood block on fire, when the tag is added, it will start burning (so that you don’t need to put a script into every single wood block, see: collectionservice)
If it is touching a block with the wood material, then it will give the “On Fire” tag to the block that its touching