I am trying to have custom walking animations for my game. The problem is that the animation only fires once while walking, then the player just stands still while walking.
game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) char.Animate.walk.WalkAnim.AnimationId = "rbxassetid://7215280276" char.Animate.run.RunAnim.AnimationId = "rbxassetid://7215280276" end) end)
The script is located in ServerScriptService.
Does anyone know how to make the animation loop like the normal animation?
Nevermind, found the solution myself. I had to edit the Animate script and make the AnimationTrack loop.
-- load it to the humanoid; get AnimationTrack currentAnimTrack = humanoid:LoadAnimation(anim) currentAnimTrack.Looped = true -- add this currentAnimTrack.Priority = Enum.AnimationPriority.Core