One of the few downsides to the Moto X’s incredibly fast updates to Android 4.4 Kit Kat by Motorola was the root situation, since each update quickly wiped away exploits that allowed for easier root options that existed. There is a way to root the current build of Android 4.4 on the Moto X, but it is a fairly involved process. XDA member 640k has taken the work already done by Justin Case to root the Moto X and put it into an executable script, but tread lightly going forward.
We don’t want the title to mislead anyone, we love rooting our Android devices and the power that it brings, but people have to be aware of what they are getting into before they embark on this. If your Moto X is on Android 4.4 and you run this script, it involves re-imaging your device with 4.2.2 two different times before getting you updated again to 4.4 with root intact. The locked bootloader of the Moto X makes recovering a failed flash very difficult, so before you start on this, make sure you know what you are doing.
The script needs a few downloads to get working correctly. The script itself only runs on Windows machines and needs Motorola drivers installed, a fresh download of Android 4.2.2 and the exploits themselves. After being corralled into a folder, the script will guide the user through how to bring root access to their device.
If you have gone through the root process on 4.4 already, feel free to post in the comments any tips you can to help!