I’ve seen many posts related to this topic, however non seem related to what I’m trying to do. Currently, I have an NPC who walks, stops, and then walks again. However, when it walks and stops the first time, the animations load both client and server-side. After the NPC is done standing it moves again, then the animation goes to a “blank” on the client-side, however the server-side, it works perfectly fine.
The script is located inside the NPC, it’s also a server script, not a local script.
function MoveAnimation()
wait(.1)
local animation = Dummy.Animation
animation.AnimationId = "rbxassetid://507777826"
local trackanimation = Dummy.Humanoid:LoadAnimation(animation)
trackanimation:Play()
end
function IdleAnimation()
wait(.1)
local animation = Dummy.Animation
animation.AnimationId = "rbxassetid://507766666"
local trackanimation = Dummy.Humanoid:LoadAnimation(animation)
trackanimation:Play()
end```