You can also try inserting your SIM card to a different device. If it is able to get signal or service, that means your Moto X has a problem. Bring your phone to the nearest service center and have it checked by an authorized technician.
We also have our Youtube channel for tutorials and troubleshooting videos. Feel free to visit it anytime and don’t forget to subscribe and like the videos. Thank you.