Part 2 of my platformer engine https://scratch.mit.edu/projects/408253965 , but this one has a different script, and enemy Ai.
Thanks to @Xamuil2 for the Youtube tutorial