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

[SOLVED] My npc isnt moving like it should be?

Asked by 3 years ago
Edited 3 years ago

I was programming an npc movement script of my game but the npc wont move, there are no errors in the output just my script isnt working. The npc is a R15 type model

local humanoid =  script.Parent.Humanoid

while true do
    humanoid:MoveTo(Vector3.new(50,0,0))
    humanoid.MoveToFinished:Wait()
    humanoid:MoveTo(Vector3.new(0,0,0))
    humanoid.MoveToFinished:Wait()
end
0
Make sure nothing in the npc model is anchored? doggybite1 100 — 3y
0
oh ok NakralMijal 0 — 3y
0
i already anchored it NakralMijal 0 — 3y
0
Wait, did you unanchor it or anchor it? If you anchored it, there's your problem. niroqeo 123 — 3y
View all comments (3 more)
0
i anchor it NakralMijal 0 — 3y
0
Un anchor it koviddev 29 — 3y
0
ok NakralMijal 0 — 3y

Answer this question