Model won't Move to Position

Hi, so I am currently creating a game, and I try to put a model to a certain position, but it it just stuck on a part and not on the position I want it to be.

Here is my script:

local SelectPart = NoobSpawns[math.random(1, #NoobSpawns)]
	Noob.Parent = SelectPart
	Noob.Humanoid:MoveTo(Vector3.new(SelectPart.Position))

Try This

local SelectPart = NoobSpawns[math.random(1, #NoobSpawns)]
	Noob.Parent = SelectPart
	Noob:MoveTo(Vector3.new(SelectPart.Position))
1 Like

I believe the problem is with the “Vector3.new”. There should only be the position. The position is already a Vector3.

1 Like

Does it have to be a :MoveTo?
For me I’d use a :GetPrimaryPartCFrame or :SetPrimaryPartCFrameto move the part to the desired location, and then a TweenService.

1 Like

Still not working.

30 letterssss

I tried removing the Vector3.new, but its still in the same position.

You just want:

local SelectPart = NoobSpawns[math.random(1, #NoobSpawns)]
	Noob.Parent = SelectPart
	Noob:MoveTo(SelectPart.Position)
1 Like

That worked, thanks!

30 letters

1 Like

Please mark the most appropriate answer as the solution.

Oh alright, good luck dude, and if anything you can contact me.