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

Roblox failed to load animation? Animation failed to load in

Asked by 5 years ago
Edited 5 years ago

A tool localscript that keeps getting this error in game. Not in studio, even when testing. But for some reason it bugs when playing the actual game. Heres the script

01local player=game.Players.LocalPlayer
02local chara=player.CharacterAdded:wait()
03local toolModel=script.Parent
04local handle=toolModel:WaitForChild("Handle")
05 
06flagstop=true
07toolModel.Equipped:Connect(function()
08    Atkanim1=chara.Humanoid:LoadAnimation(script.Parent.Animations.Atk1Anim)
09end)
10 
11toolModel.Activated:Connect(function()
12    if (flagstop) then
13        print("Working")
14        Atkanim1:Play()
15        flagstop=false
16        wait(toolModel.Config.atk1dla.Value)
17        flagstop=true
18    end
19end)

and heres the client error when playing the game

121:06:16 -- Animation "rbxassetid://4249636404" failed to load in
2"Workspace.elitekiller2342.MactinV1.Animations.Atk1Anim.AnimationId": Animation failed to load

This isn't a group creation but it is however a team creation(and im not the owner). Not sure if that matters but hey idk.

1 answer

Log in to vote
1
Answered by 5 years ago

The problem is: The animation is not owned by you. Yeah, I find team create buggy sometimes, and developing at a group game is defiently much better than in team create. But if that's not possible, the only way to work together is by using team create. (Databases gets messed up in team create as well)

If you want to test the animatoins, you'll need to upload the animations yourself, and use the IDs that your newly uploaded animations have.

Hope this helped you and continue on scripting! ^^


~Waterfoox

0
Thank you :D elitekiller2342 87 — 5y
Ad

Answer this question