Mob is Zombie
Player is player
The thing is I am trying to make that Zombie will spawn far and I want it to slowly come close to the player but the Zombie spawns where the player is which is the problem(I don't know if that it will come to the player) and starts to damage me.
I don't know if the code is clean for you guys but this is my style of typing code.