Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How come loading an animation won't work anymore?

Asked by
yoyyo75 74
4 years ago

So me and my friend were testing animations and for some reason it isn't working but it was working fine 2 days ago and we din't change anything. Does anyone know why?

Animation code snippet:

hum = script.Parent.Humanoid
anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://3998315161"
animTrack = hum:LoadAnimation(anim)
animTrack:Play()

Error:

10:06:01.147 - Animation "https://www.roblox.com//asset/?id=3998315161&serverplaceid=0" failed to load in "Animation.AnimationId": Animation failed to load

I tried testing this on a new place and a new r15 dummy but still won't work

1
The issue is that the Animation that you chose either no longer exists or you are experiencing network connection failure ExHydraboy 30 — 4y
0
My net still works I think because I can change the AnimID to something else and it will work. The animation I chose still exist because my friend just made it yoyyo75 74 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

Make sure you own the Animation in your account inventory.

0
Does it have to be in my inventory? it worked before even if it wasnt in my inventory, and I changed the AnimID to some random animations I dont own and it works yoyyo75 74 — 4y
0
Apparently, I wasnt given access to the animation but its good now yoyyo75 74 — 4y
Ad

Answer this question