Here are a couple of TX statutes that refer to what Carl has told you. Also there may be others that would apply, but due to your limited post I didn't want to post all of them (as some may not have applied).
§ 25.04. ENTICING A CHILD. (a) A person commits an offense if, with the intent to...