IR code help

I think I will have it in the barrel with a lens at the end to bend the light hopefully, what would you think work better? Like I said I'm new to using IR.