I’m trying to insert the default walking animation into an NPC. The animation works fine in Studio, however, it fails to load in the actual game with no errors whatsoever. I’ve had this problem before, and I attributed it to the fact that I don’t own the animation, which means I can’t use the default R6 animations. My code to load the animation is as follows:
local walkanim = script.Parent.Humanoid.Animator:LoadAnimation(game.ReplicatedStorage.Walk)
walkanim.Looped = true
walkanim.Priority = Enum.AnimationPriority.Movement
Is there any way to access the default R6 animation in a game?