Once Burned, Twice Shy
Source
Starfinder Enhanced pg. 60
You can produce a pyrotechnic display with your weapon that elicits a primal fear of fire. For your debilitating trick, whenever you are using a weapon that deals fire damage or has the burn critical hit effect, your target must succeed at a Will save. If they fail, they become frightened and run away for 1 round. Creatures that are resistant or immune to fire damage gain a +2 circumstance bonus to their Will saves against this exploit, but those with vulnerability to fire instead take a –2 penalty to saves against this exploit.
Dragonscript
ID
09a70d3e3eddff33b02180f1