Bing bong to you good sir.
If you want this to stop you should stop just modifying the isPlayer = "Player" thing in ObjectProprieties. You should instead add a toggle in the getHit() function. (Just search getHit, it should be in gameserverconcreate.as I think or something similar) The rest is yours to figure out.