So I'm relatively new to lua; and brand new to Roblox's API. I was under the impression that NPCs could be animated via Animation Controllers if they did not contain Humanoids and Additionally that they could be animated the same manner as players are through the Humanoid; Assuming they contain one. This is in a LocalScript(I've Attempted A Server Script Also) in my Npc's Humanoid
local humanoid = game.workspace.Spearman.Humanoid local anim = Instance.new("Animation") anim.AnimationId = "rbxassetid://696772035" local animTrack = humanoid:LoadAnimation(anim) animTrack:Play()
When I go to run the test; the NPC remains in his frozen positon; He's unanchored; but I have his body positioned with CFrame also(If That matters) Additionally, He has a tool Equipped from the ReplicatedStorage(Also not sure if its relevant)
There are no Errors or warnings in the Output or Script Analysis Windows either
Could someone tell me what I'm missing?