I’m just wondering how I would be able to cancel Humanoid:MoveTo()
I need to cancel the moving humanoid because the current position where the humanoid is moving to has been outdated.
Make the humanoid:MoveTo(its own humanoidRootPart)
Try to destroy the part that it’s moving to with Destroy()
oh dear lord what kind of sorcery are you trying to do ?
If it’s destroyed, it’s not just stopping, it’s full-removal and not functionable anymore.
You’re doing Humanoid:MoveTo(Brick.Position), it wouldn’t matter if the brick ahs been destroyed or not, because the brick isnt connected to the script at all.
oh, sorry, I didn’t know that. I thought pathfindingservice was making an npc move to a desired part. Sorry.
I’m sorry, sometimes people make mistakes… and sorcery is kind of a strong word. I hope you accept my apology.
Yes it’s okay, everyone can make these mistakes.
IIRC you can use Humanoid:Move(Vector3.new(0, 0, 0))
to stop a humanoid.
Basically, Character.Humanoid:MoveTo(Character.HumanoidRootPart)