the line that it broke on was line 58 in the control file and in the respawn function is similar as well and calling a local value [like this: local train = {}; ] seams to fix it in both functions but another problem shows up in the auto giving section for the train fuel and that line it calls out is 158 I think it might be a different line after the two local value declarations that I inserted now I think I should get off now cause it is 11:30(ish) PM