Idle tool animation

I am currently making a game with weapons and i have and idle animation for the tool but the script isnt working and i have no errors

heres my code

local tool = script.Parent
local anim ="Animation")
anim.AnimationId = "" --Animation ID
local track
    track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
    track.Priority = Enum.AnimationPriority.Action
    track.Looped = true
    if track then

I have looked around cant find anything i have changed the animation priotity to idle, action, and movement yet nothing is working


Why dont you loop it inside the animtion editor (assuming you use moon animator), and then access the idle animations located inside the β€˜animate’ local script inside of the character, and change the idle animation from there when it is equipped?

didnt work any other solution?

you dont own this animation


Biggest-Sword-Idle.rbxm (2.1 KB)

(unless youre in team create or something youll have to go in the actual game to test it)


Animations that you do not own you can not play, is this your anim?

1 Like

ohhh i am doing team create with my sister and she made the animations

so i went into the actual game and it still isnt working

Try setting the animation priority to action/action2/ etc, within roblox’s animation editor or moon animator, or the default tool’s idle will play

1 Like

aha, humanoid is deprecated for r15 use humanoid.animator instead

also correct me if im wrong but i do believe that others animations will now work in team create unless the maker isn’t in team create

1 Like

thank youβ€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž