I've already added a scoreboard, and when I click on the voidaddScore() on the counter it adds one point. How do I make it add a point when my laser kills (comes in contact with) an alien, and not when i click voidaddScore() ??
((Counter)getWorld().getObjects(Counter.class).get(0)).addScore();