So I made an animation play and it plays and it is a .3 second looping animation but once i move the character it stops.
p = script.Parent.Parent
wait(2)
ph = p.Character.Humanoid:LoadAnimation(script.a)
ph:Play()
I know it is simple I am just testing before i do the harder scripting.

4 comments
I think you did the script wrong...
how
it plays the animation right when they join the game
I'm not sure how reliable that script is but to answer your question you need to set the priority to movement, I believe. (You do this in the animation editor.)