Okay. So I want to make a zombies that follows a player, and I've tried this script (in a local script)
while wait() do zombie:MoveTo(game.Players.LocalPlayer.HumanoidRootPart.Position) end
But instead the zombie just stays there(the zombie is a dummy I've added by the plugin "Rig Builder"). I've also went in the zombie's Humanoid > WalkToPoint (1,1,1) but it doesn't work. Help will be appreciated!
If my answer helped then please accept it so I can get reputation, thank you!
Make sure no bodyparts are Anchored and use humanoid:MoveTo(Vector3):
local dummyHumanoid = workspace.Dummy.Humanoid -- defining Humanoid local localPlayer = game.Players.LocalPlayer -- defining LocalPlayer repeat -- repeat loop dummyHumanoid:MoveTo(localPlayer.Character.HumanoidRootPart.Position) -- using Humanoid:MoveTo() Function wait() until true == false