function EnemyNewPostition()
(
Zombie.transform.position.x = player.transform.position.x - 50;
Zombie.transform.position.y = player.transform.position.y - 150;;
)
I hope I can get some help I would copy the whole thing but it was just too much.
function EnemyNewPostition()
(
Zombie.transform.position.x = player.transform.position.x - 50;
Zombie.transform.position.y = player.transform.position.y - 150;;
)
I hope I can get some help I would copy the whole thing but it was just too much.
Remove the second Semi-Colon on line 4.
function EnemyNewPostition()
{
Zombie.transform.position.x = player.transform.position.x - 50;
Zombie.transform.position.y = player.transform.position.y - 150; // only need one semi-colon
}
If you still have issues, post the complete error and complete script
Thank you soo much it works!!!