This is my new AI, which can now jump over pits! :D Have fun playing around with this! The AI will be attracted towards your mouse-pointer. Some credit to @djpro for the original platforming script, but most of the credit goes to ME for adapting it into an AI :) Feel free to use this, but remember to give credit to me (and some to @djpro if you want). Also, keep in mind that the entire thing is 5 sprites, so it may be tedious to backpack and fix it into whatever game you're making :(. I suggest that if you want to make a game with this, remix this project. Also please note the AI may be glitchy in tight spaces. The sensors that allow the AI to jump over walls are also a bit glitchy, so watch out. How it works: two sensing sprites positioned to either side of the AI tell it whether it is next to a pit. If it is facing in the direction of the pit, then the AI will jump. Also there are two wall detection sensors, placed farther out than the pit sensors. If one of them detects a wall, and the AI is headed towards it, the AI will attempt to jump over it.