hi, so i have this mechanic that is just earthbound’s (a JRPG game) following system but the weird thing is some of the NPC’s (that are following the player) parts are not being animated and i was confused on why this happened. they’re all unanchored and they all have the right motor6ds.
also, below will be the gyazo link of the problem and a random script that follows the player (all NPCs have the normal Animate script):
local NPC = script.Parent
local otherNPC = workspace:WaitForChild("otherNPC")
local NPCPos = otherNPC:WaitForChild("Torso")
while true do
wait(0.1)
if (NPC.Torso.Position - NPCPos.Position).Magnitude > 4 then
NPC.Humanoid:MoveTo(NPCPos.Position)
else
NPC.Humanoid:MoveTo(NPC.Torso.Position)
end
end
Hi, can you check what type of the script the characters Animate script is. This usually occurs because the animate script is a local script and therefore will not run.
i just moved the important details of the NPCs to blank NPCs, i know it may not be a good idea to do and the problem will most likely happen again but just gonna check it out because it is back to normal when i moved it