Struggling with code

Hi fellow devs.
So i want to load all these animations and save them to variables with loop and make it universal so if i change amount of values it will still work.
Values like “FirstRig” and “SecondRig” are object values that contains rigs itself.
and script create variable for each rig and load animations.
image

i dont know how to realize it because i dont know how to make variables different like

for i,v in pairs(script.Parent.Animations:GetChildren()) do
	local ["Rig name here"]ThrowAnimationTrack = "path to rig".AnimationController.Animator:LoadAnimation(ThrowAnimation)
	local ["Rig name here"]GrabEndAnimationTrack = "path to rig".AnimationController.Animator:LoadAnimation(GrabEndAnimation)
	local ["Rig name here"]GrabStartAnimationTrack = "path to rig".AnimationController.Animator:LoadAnimation(GrabStartAnimation)
	local ["Rig name here"]GrabLoopAnimationTrack = "path to rig".AnimationController.Animator:LoadAnimation(GrabLoopAnimation)
end

Giving an idea of realizing or way to achieve will be enough, thanks!

you can use tables to do this, this is impossible

like this?

for i,v in pairs(script.Parent.Animations:GetChildren()) do
	table.insert(TABLE, "path to rig".AnimationController.Animator:LoadAnimation(ThrowAnimation))
end

You have to use a dictonairy for this, take a look at table | Documentation - Roblox Creator Hub

local Animations = {
   RigName = {
      Animations = {}
};
   RigName = {
    Animations = {}
};
   RigName = {
    Animations = {}
};
   RigName = {
    Animations = {}
};
}
for i,v in pairs(script.Parent.Animations:GetChildren() do
   Animations[v.RigName].Animations[v.Name] = PathToRig.AnimationController.Animator:LoadAnimation(v)
end

Sorry for the mess, there might be errors but can’t type well right now.