anyone know a script for a flamethrower?

I need help with a flame thrower script.

Use Particle Effect with a World Collider. You can have the particals collide with the world and have things get damaged over time when they are hit by it. :) Good Luck.