Nice and thankx law, idk if you already fixed, I forgot to add team check in trigger,you can simple add than using
If(local.getteam()!=enemy.getteam(local.getcrossha irid()) { code }
Can't remember how I wrote it, I'm without my pc (screen broke)
And for the v140 missing dll, go to the setting of the project and compile it with /MT so it compile with all the things needed