Hello, I am making a game where the player has to keep away hordes of enemies from one NPC but I am encountering an issue. When I use Humanoid:WalkTo(), It works perfectly fine, but i’m trying to also make the enemy that is walking to the NPC also walk with an animation (preferably the default R6 walking animation). How can I achieve this? I’ve already tried adding the animate script from the Character to the enemy but it still doesn’t have an animation when walking. I will include both my code and a gif of the problem below.
Repst.StartTestWave.OnServerEvent:Connect(function(plr)
for _,v in pairs(workspace:GetChildren()) do
if v:FindFirstChild("Enemy") then
v:FindFirstChild("Humanoid"):MoveTo(workspace.noooob.PrimaryPart.Position)
end
end
end)