What set is this minifigure from?
Legs and torso are from a Unitron figure: http://www.bricklink.com/catalogItem.asp?M=sp048  



The red bandana has appeared in almost 100 sets (often pirate-themed), while the head and hands are generic and could be from any number of sets as well.