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

How would I move a Humanoid to a Vector3 without a part?

Okay, so let me expand more on what the question really means, because it's not too clear.

I'm trying to do something like this:

humanoid:MoveTo(Vector3.new(0,0,0))

however the MoveTo method requires me to make the second argument a part when I don't actually have a part to make it.

How would I go about doing this?

2 comments

0

Give me a minute, let me look in my archives. I've done this before.

0

Could you just create a part at the point and then delete it when the humanoid has moved to the part?

2 answers

✓ Accepted answer

The second part describes the tracking-motion of the green-circle walking method (which I'm not even sure remains as a control, I don't think it does).

So for normal purposes, any static (non-moving) part will work.

This includes, for instance, Instance.new("Part"), or if you don't like that, just use the Baseplate or some other static part.

3 comments

0

Thanks. I'll try that. I'll accept your answer if this fixes my problem.

0

I see to be mistaken about the Instance.new solution; it appears the humanoid (at least now) requires the part to be in the workspace

0

When you use this method, make you you remove the temporary part, or you may end up lagging your servers to death.

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