The game over is triggered if the enemy's y velocity was negative, that was done to stop weird collisions from under the platform. Gotta think of a system to stop the players from camping the top. Thanks for playing it!