local pos = game.Workspace.GreenFlag.PrimaryPart.Position local part = game.Workspace.GreenFlag.PrimaryPart game.Workspace.Zombie.Humanoid:MoveTo(pos,part)
I have created a script in the SeverScriptService.
I created the "Zombie" Model by going to Plugins --> Rig Builder --> R15 then changed the name to Zombie.
I created a part, grouped it to make it a model and named it "GreenFlag"
I clicked on the GreenFlag Model then in the PrimaryPart box then clicked on the GreenFlag in the Workspace.
Please! Could someone tell me why this does not work.
If I run game.Workspace.Zombie:MoveTo(pos,part) the Zombie is standing on the Green flag instantly.
No matter what I try I have not been able to make the Humanoid do anything.
You're calling MoveTo on the model, which teleports the model to the specified position.
I think you're looking for Humanoid:MoveTo
, not Model:MoveTo
.
That would begame.Workspace.Zombie.Humanoid:MoveTo(pos, part)
.