I want to create variables which I can get from any other script. These variables correspond to the XYZ coordinates of the KinematicBody. First, how do I create those variables? And second, how do I call them from another script?
You can already access the transform from any other node. Get a reference to the KinematicBody and use body.transform.