Fixed issue with local/global variables and unhelpful variable names, and changed the spawning method to utilize the built in functions of Vector3