so im trying to play anim animation on this rig which is inside the viewport frame but i think im doing it wrong cus it prints its playing but doesnt rlly look like its playing the animation
modelClone.Parent = viewportFrame
modelClone.PrimaryPart = modelClone:FindFirstChild("HumanoidRootPart")
modelClone:PivotTo(npc.PrimaryPart.CFrame * CFrame.Angles(0, math.rad(120), 0))
local hum = modelClone:FindFirstChild("Humanoid")
local animator = hum:FindFirstChild("Animator")
local anim = RPS.Animations.Npc.Civilian.QuestGiver.Idle
local track = animator:LoadAnimation(anim)
track.Looped = true
track:Play()
if track.IsPlaying then
print("playing")
end ```