The script makes the animation run but while the player is still walking the animation stops. Is there a way to make it so it keeps on looping as the player walks?
Oh and when I die, the animations disappear. Please help on those two things :)
game.Players.PlayerAdded:connect(function(player)
while not player.Character do wait() end
local character = player.Character
local animatescript = character.Animate
animatescript.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=268420501"
character.Humanoid.WalkSpeed = 30
end)

1 comment
This has to do with your animation, make the priority an Action, therefore it overrides the previous animation. Also, the Animation editor gives you an option to make it loop, located on the top, right corner.