Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does this zombie stop midway to the point i want it to go to?

Asked by 4 years ago

I was following some tutorial on the Roblox developer hub site, instead of having (GreenFlag.Position) it has (GreenFlag.PrimaryPart.Position) But when I add primary part in there it says PrimaryPart isn't apart of part

local zombie = game.Workspace.Zombie
local Humanoid = zombie.Humanoid
-- Variables for the points the zombie should move between
local GreenFlag = game.Workspace.GreenFlag
local PurppleFlag = game.Workspace
--Execute Script
Humanoid:MoveTo (GreenFlag.Position)

https://gyazo.com/5c10ca0686268711c4d4348594798872

0
The reach goal state of a humanoid will timeout after 8 seconds if it doesn’t reach its goal. https://developer.roblox.com/en-us/api-reference/function/Humanoid/MoveTo MAKKU 37 — 4y
0
Distance from point A to point B is too far for the zombie's WalkSpeed. You can use pathfinding. DeceptiveCaster 3761 — 4y

Answer this question