How do you give simple enemies pre-determined movement patterns?

Hello! I’m currently making a game with some basic enemies, and I am trying to figure out how to implement enemy movement. To start this process, I am trying create a slime.

The slime is (currently) a singular block with details welded to it. I am trying to give it one move, “Single Bounce,” that has it leap straight up once, come back down, and then leap forward in the direction of a chosen player. However, I’m not sure the best way to achieve this.


Ideally, having some easing options (and maybe even the option to stop movement) would be nice, but I’d like to start by knowing the best way to give simple enemies pre-determined movesets. Thanks!

1 Like

you could modify this models code if you can:
https://create.roblox.com/marketplace/asset/9762899450/Marine-AI-IV

1 Like