Check if a player enters the checkpoint trigger and not an enemy