I need help with making enemies move.

I watched this video: https://www.youtube.com/watch?v=LCha_neZ9v8
in that video, they told me to make the enemy movable but when you do that, you die every single time you respawn and I can’t figure out why! Please help and if you do, thanks! -Scraptap

Could you please link your game, it would be easier to help you out if you are still experiencing the problem.