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

Why is my idle animation for my pickaxe failing to load?

Asked by 3 years ago

Tool is in starterpack, this script is inside the tool and when I test the game and equip the tool it doesn't load the animation..

local Tool = nil
local animscript = nil
script.Parent.Equipped:Connect(function()
    Tool = script.Parent
    animscript = Tool.Parent:WaitForChild("Animate")
    animscript:WaitForChild("toolnone"):WaitForChild("ToolNoneAnim")
    animscript.toolnone.ToolNoneAnim.AnimationId = "http://www.roblox.com/asset/?id=5257168033"
end)

script.Parent.Unequipped:Connect(function()
    animscript:WaitForChild("toolnone"):WaitForChild("ToolNoneAnim")
    animscript.toolnone.ToolNoneAnim.AnimationId = "http://www.roblox.com/asset?id=5257168033"
end)

Errors in the output: 17:18:45.117 - Animation "https://assetdelivery.roblox.com/v1/asset?id=5257168033&serverplaceid=0" failed to load in "Workspace.ByteError.Animate.toolnone.ToolNoneAnim.AnimationId": Animation failed to load

17:18:45.226 - Animation "https://assetdelivery.roblox.com/v1/asset?id=5257168033&serverplaceid=0" failed to load in "Animation.AnimationId": Animation failed to load

0
it could be an ownership problem, try making the animation on ur main account (ByteError) if it doesnt work idk otherwise :{{ sean_thecoolman 189 — 3y
0
I did make it on ByteError, and tested it on that account. It doesn't load. And it doesn't load for any other person either ): User#29785 0 — 3y
0
try making another animation, and see if it does or doesn't work on any accounts sean_thecoolman 189 — 3y
0
Already tried that too, I have no idea what could be wrong User#29785 0 — 3y
View all comments (6 more)
0
Is it a group game? If so make the anim on the group. koviddev 29 — 3y
0
Wdym? Team create? It's not in team create nor in a group game User#29785 0 — 3y
0
And its ur own anim? koviddev 29 — 3y
0
Yes I made the animation in moon editor User#29785 0 — 3y
0
Is the script a local script? Animations only load in local scripts Cynical_Innovation 595 — 3y
0
Local but also nvm I fixed it. I meant to put the id as: 5281576135 my bad... Simple mistake |: User#29785 0 — 3y

Answer this question