So i am making a wall jump test and i need help.
What i am trying to do here is once i anchor the humanoid root part it will play an animation and allows to to jump to the next wall but i need help because when i jump on a wall the player would stick onto the wall on stud away but on the other one the player would stick inside of the wall (-1 stud)
Here is my script and i am talking about i only wrote this to see a way to do one stud away from the wall instead of just the Z.Position + 1.
CFrame.new(Vector3.new(humanoidRootPart.Position.X,
humanoidRootPart.Position.Y,wall.Position.Z+1)) *
tell me the issue please!

5 comments
What is the asterisk at the end of that code snippet for? Is it useful? If not, you should delete it!
No, it is for the humanoid root part rotation it uses Cframe.Angles
What if Z.position + 1 is not enough? And do you need to change X.position or Y.position? For the hanging in the air 1 stud away from the wall problem...
Do you need to change X.position or Y.position? For the hanging one stud away from the wall problem?
no, what i am trying to do is find a way for the humanoid root part to face in front of the wall, one stud away.