I want to add an animation to my Noob Model that haves Humanoid.The location of this model is game.Workspace and i have an script inside this model that should run an animation but it’s not
There’s the script:
local loc = script.Parent
local animation = Instance.new("Animation",loc)
animation.AnimationId = "rbxassetid://658830056"
local animationTrack = loc.Humanoid:LoadAnimation(animation)
animationTrack:Play()
Why it’s not working? I’ve been trying to change the AnimationID to “http://www.roblox.com/Asset?ID=(...)” but it didn’t work. That’s a Script, not LocalScript. I don’t know what i’m doing wrong. Please help me the beautiful Roblox Community!
It’s a “Noob” model with an Humanoid, the script is located inside of this model. If i’m missing something please tell me what i’m doing wrong 'cause i’m just dumb.
Incorrect. Check API and Tutuorials for information on that.
This happens to me sometimes. Is it an animation from another group you have, or another account?
Sometimes, I will have an animation from my profile that I put in a group game. It may playback for me, but not for other people. The simple solution is to upload it to the right place .
I was asking you to check API. I don’t want this guy to have wrong info.
I’m not mad you or anything tho, I just want people to have good info, y’know?
I’m open to be corrected tho, so please lemme know
Hmmm.
I’m not sure if you can use Roblox Animations if you don’t own it. It hasn’t worked for me in that situation.
Try using the idea @phSalami had too!
When you do try it, see if one of your animations work. If it does, then my theory is correct.
If it doesn’t, try the other NPC animation code.
If THAT doesn’t work, it may be internet or studio problems?