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 5 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

1local zombie = game.Workspace.Zombie
2local Humanoid = zombie.Humanoid
3-- Variables for the points the zombie should move between
4local GreenFlag = game.Workspace.GreenFlag
5local PurppleFlag = game.Workspace
6--Execute Script
7Humanoid: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 — 5y
0
Distance from point A to point B is too far for the zombie's WalkSpeed. You can use pathfinding. DeceptiveCaster 3761 — 5y

Answer this question