Oh, i was in hurry and didnt fully read your problem. Anyway, it's not script's fault.
Try reinstall VCMP completely. If it doesnt work, check your firewall( consider turning it off just to test ) and also turn off all unimportant background proccess before joining the game. If it's still happening, maybe you can try different internet( e.g. your mobile data..etc just to check ). If it's your internet that's unstable( not talking about speed ), we cant do anything.