The problem with the appearance of enemies

In my first 3D game, I wanted to add enemies that would randomly appear on the map and chase the player, but I encountered the problem of the enemies “flying” after the spawn animation played. I decided to use a YouTube tutorial to create the enemies. What could be causing this issue? In my opinion, the code fully corresponds to what is presented in the video. I attached a test video showing that after the spawn animation plays, some enemies shoot up into the sky. I tried changing the position and number of spawn points for the enemies, but that did not help fix the issue at all. I kindly ask for your help with this challenging problem.

link tutorial - https://youtu.be/iV710Vm5qm0?si=nx9kWT9AtZxHeRQf

Hard to say without your project. In the video description there is a link to the finished project, I couldn’t see any flying zombies.

Github: GitHub - LegionGames/ZombieEnemies