Raygun 1 shot kill you can run hella fast with it and can get group kills. The flame thrower is ok but you can't go prone with it and you run really slow with it.
The ray gun is much better than the flamethrower. Unless instant kill is in effect. Forget the raygun though, the wunderwaffle is the gun you want to use.