Read the Texas State Law concerning this exact issue.
I’ve read that Texas has an “after sundown” kind of law, if someone is on your property in the dark, it’s assumed that they are there to do you deadly harm and you can start firing. Not sure if that’s true or not.