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

10 comments

0

it could be an ownership problem, try making the animation on ur main account (ByteError) if it doesnt work idk otherwise :{{

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 ):

0

try making another animation, and see if it does or doesn't work on any accounts

0

Already tried that too, I have no idea what could be wrong

0

Is it a group game? If so make the anim on the group.

0

Wdym? Team create? It's not in team create nor in a group game

0

And its ur own anim?

0

Yes I made the animation in moon editor

0

Is the script a local script? Animations only load in local scripts

0

Local but also nvm I fixed it. I meant to put the id as: 5281576135 my bad... Simple mistake |: