Credit's to original authors. Decided to fix this poorly coded gamemode in 5 minutes.