How would you give a walk animation a loop, is a simple enough title i just had to put the extra for the site to think its givin more info.
Since the normal roblox walk script has a loop i thought this would put a loop on it but it dident. so can someone tell me how to add a loop to an animation?
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
player.Character.Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=2652684706"
end)
end)

3 comments
There is a toggable setting in the animation editor called "Loop" and if you set it to true the animation will loop. Just stop or play the track depending on if they stopped or started walking.
Also you can toggle looping through code, https://developer.roblox.com/api-reference/property/AnimationTrack/Looped
ive tried both of those although i was able to make the animation 5 seconds long and use it insdie of roblox's walk animation