My animation isn't playing

  1. What do you want to achieve? Keep it simple and clear!
    I want to make a run animation. But after dealing with some error I decided to do the easiest part first.
  2. What is the issue? Include screenshots / videos if possible!
    My animation doesn’t run.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have been trying to write codes in local and normal script. I’ve also read many article but I couldn’t find any solution to my problem so I ended up seeking for help

The code below is in a normal script, with an animation (priority is core, I’ve tried to make it action but still doesn’t work) as a children.

local ID = 6774740630 -- owned by my friend, the owner of the game we're doing
-- However this doesn't have any use, I just want to know if there's any problem in it

local Char = script.Parent

local Humanoid = Char:WaitForChild("Humanoid")
local Animator = Humanoid:WaitForChild("Animator")

local Animation = script:WaitForChild("Run")
local RunTrack = Animator:LoadAnimation(Animation)

task.wait(6)
RunTrack:Play()
print("unfine")

Thanks for reading, I hope you can help me with this.

1 Like

Are you trying to make the running animation permanent or only play when a specific event happens?

I’m trying to make it permanent like, it runs everytime the humanoid run.

Common issue, your problem is this

  • The animation is not uploaded by you or not owned by you.
1 Like

But if I want to use my friend’s animation, how can I do that?

Weird approach, but I’d say change the animation ID under the player’s Animate script. This is how I mostly do it.

1 Like

I tried many medthod and that one doesn’t work for me either.

What is the animation priority?

Like I said, it is set to core, but I changed it with script to action but it still didn’t work.

you can’t, roblox doesn’t allow it and probably never will

1 Like

Just get a free model from the toolbox for custom anims. (then add IDs)

1 Like

Sorry for replying late but do you own the animation? if you do are you making the game on a group?

1 Like

you need to make your own one, you can’t use other people’s animations

1 Like

Sorry for replying late, I don’t own the animation, my friend - the owner of the game owns it. But I wonder why it can’t be used by the devs of the game.

that’s how roblox made it, you can’t use animations that are not owned by you

1 Like

So I need to publish it on my account? Or I need my friend edit the script?

Put it in a group. You can see the group’s animations ingame, as long as you’re both in it. If you don’t have one, I don’t know what else you can do.

1 Like