Raildex
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 934 |
|
|
| 01 May 2016 06:36 PM |
I have built a script that makes him follow a set path however theres no movement in his limbs, how do I fix this?
local waitForPoint = script.Parent.Parent.WalkPoints:WaitForChild("1") local points = script.Parent.Parent.WalkPoints:GetChildren()
while true do for i=1,#points do repeat script.Parent.Humanoid:MoveTo(script.Parent.Parent.WalkPoints[i].Position) wait() until (script.Parent.Torso.Position - script.Parent.Parent.WalkPoints[i].Position).magnitude <= 4 end wait(5) for i=1,#points do repeat script.Parent.Humanoid:MoveTo(script.Parent.Parent.WalkPoints[#points+1-i].Position) wait() until (script.Parent.Torso.Position - script.Parent.Parent.WalkPoints[#points+1-i].Position).magnitude <= 4 end wait(5) end |
|
|
| Report Abuse |
|
|
Raildex
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 934 |
|
|
| 01 May 2016 08:24 PM |
| bump, cmon guys. this isnt a hard question but I cant find anyone asking it |
|
|
| Report Abuse |
|
|
|
| 01 May 2016 08:26 PM |
"humanoid npc walk" "humanoid npc" humanoid" q-q |
|
|
| Report Abuse |
|
|
BlueSquib
|
  |
| Joined: 03 Apr 2016 |
| Total Posts: 108 |
|
|
| 01 May 2016 10:47 PM |
You need to put an animate script in the npc model Try entering this into the command bar: game:GetService("InsertService"):LoadAsset(82531598).Parent = game.Workspace There should be a script named "Animate" or something in it Copy that script into the npc and it should work
|
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
| |
|
Jammer622
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 1739 |
|
|
| 01 May 2016 11:54 PM |
I love people who don't read the problem.
"however theres no movement in his limbs, how do I fix this?"
You're missing a working animation script, probably. Just copy the content of the local Animate script your default character spawns with in-game into a server-side script inside of the bot, then cut out lines 512-527 [player chatted emotes] from it. |
|
|
| Report Abuse |
|
|
| |
|
Raildex
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 934 |
|
|
| 02 May 2016 01:07 PM |
| Okay I did that however it still doesn't seem to be working, what other requirements need to be met to make it animate |
|
|
| Report Abuse |
|
|
Raildex
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 934 |
|
|
| 02 May 2016 01:30 PM |
| CLOSED: I was missing the hip and shoulder joints |
|
|
| Report Abuse |
|
|