#MoveTo() Stoping Before reaching destination

1 messages · Page 1 of 1 (latest)

twin zenith
#

i have seen many times this error

example script:

local Char = Script.Parent
local Hum = Char:FindFirstChild("Humanoid")
local Part = workspace.Part
Hum:MoveTo(Part.Position)
Hum.MoveToFinished:Connect(function()
Char:Destroy()
end)

midnight lichen
#

Is the character parts CanCollide = false?

#

If it doesn't work

#

You could use pathfinding

wise raven
twin zenith
#

ill try

wise raven
#

did it work

twin zenith
#

yes, they last aproximate ly 7 secs

zealous frost
#

Move to times out after 8 seconds

#

In your case your character is moving straight from a to b

#

So you can just tween or lerp the model instead of needing a humanoid

twin zenith
#

Ok, thanks