Hello!
I am wondering on how I can have a NPC only walk forward and backwards in one of my 2d games.
I think this has to do with the Humanoid:Move
function? I dont know, which is why im asking for some help.
Thank you.
Hello!
I am wondering on how I can have a NPC only walk forward and backwards in one of my 2d games.
I think this has to do with the Humanoid:Move
function? I dont know, which is why im asking for some help.
Thank you.
Humanoid:Move() takes a Vector3 parameter that defines the direction the Humanoid will go. Just restrict your direction Vector3 to one dimension, i.e. always have a Y and Z of 0. I can’t help you any further without you showing some code.