I need HELP

Im trying to make an enemy that only follows you if your close enough I tried to use proximity but it won’t work can someone plz show me how.

Could you put a link @Lexmaier06 ?

Never mind fixed it but now i need a way for it to stop when you go away.

Thats my game

Add a switch that turns it off, have the proximity turn it on and use a NOR gate with the proximity to turn it off.

It’s not working they just go back and forth

Does anyone know how?