Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to tell when walktopoint is completed?

I know there is a function for this, but I can't quite remember what it is :( I tried looking it up but I really can't remember the name of the function

script.Parent.Humanoid:MoveTo(position)
--I wana do something after this but not before it stops moving

wait for the moveTo() to finish/ the npc to reach the point

2 answers

if script.Parent.Humanoid.Position = [POSITION] then

end

Guessing you mean sorta like this?

2 comments

0

Is that the only way? I guess that sorta works, but it isn’t really what I was looking for

0

unfortunately as far as i know there isn't an event one can call upon the humanoid reaching the position

This discussion is preserved as it was. New answers, comments, and votes are closed.