i need my enemies to chace me.
what can i do.
pleace someone write a script.
You are going to have to sweat like the rest of us. We are happy to set you on the right path but you can not outsource your work to Unity answers and have people do the work for you.
If you need AI to chase you, you should look at the First person Shooter tutorial provided by unity. I think its part three where they start to get into enemy AI but if I were you, I would read the hole thing.
do you have the First person Shooter tutorial? if you haven’t i can make a video how to get it and to get the them to chase you, shoot at you, and kill you.
First of all, we have no idea what your game structure and logic is. So giving you a script might not apply at all to your project. There’s no general way of doing things in Unity (even though some ways tend to be better than other, and some ways have predefined tools).
To get you started have a look at Transform.LookAt and Transform.Translate, perhaps Vector3.sqrMagnitude and Collider.OnTriggerEnter/Collider.OnCollisionEnter would come in handy too.
Enemy.LookAt(player.transform);
characterController.SimpleMove(transform.forward * speed * Time.deltaTime);
That’s pretty much the easiest way to do it, but like others have said, you really need to learn some basics.