Monster AI javascript

Hello. I am VERY new to Unity and I am in desperate need of an enemy AI script for a demon. It’s kind of a Slender-Like game, but the demon can’t teleport only chase the player. None of the scripts I have work so I was wondering if anyone had a simple Javascript and could walk me through using it I would really be grateful!

The best ‘write my AI for me’ link I know of is this

Also, please bookmark and review this

The latter will take you from zero to hero(ish)

Brackeys has a good tutorial on AI that follows you without using a navmesh.