[SOLVED] Enemy script

one of my people helping make my game made an enemy script, when i test it does not work.
anyone know how i should fix this?
https://playcanvas.com/editor/scene/1425964

I am working on the script now

ok

With the wrong setup it will never work as intended.

image

he fixed it yesterday

I’m just saying.