Question on organizing animations

Is it a good idea to have all the local animations like sword swing, run, dash etc etc to be all preloaded loaded in one script like in startercharacter for organization. like if I have my sword swing animation preloaded using contentprovider and humanoid.animator:loadanimation and I save that saved in startercharacter

I usually use an animation manager in local scripts that stores a table of all the animations along with events that trigger the animations. For example,

local animations = {
    ["animation1"] = "rbxassetid://<animationid>",
    ["animation2"] = "rbxassetid://<animationid>"
}

That’s just how I do it. Some people may do it differently.

1 Like