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.
What is the issue? Include screenshots / videos if possible!
My animation doesn’t run.
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.
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.