This is the script I have right now, but it doesn't change the run animation when clicked. What am I doing wrong?
script.Parent.MouseButton1Click:connect(function(p)
p.Character.Animate.run.RunAnim.AnimationId = "http://www.roblox.com/asset?id=1889592040"
end)

7 comments
have it do the animation from the Humanoid instead of the Character because the Humanoid controls animations for the Character not the Character itself
How would I do that? Change "Character" to "Humanoid" in the script?
p.Character.Humanoid.RunAnim.AnimationId i think
Doesn't work :/
hmmm
have it check for Humanoid.Running then change the ID
How would I do that?local h = p.Parent:FindFirstChild('Humanoid') if h then ?