I keep getting this “attempt to index number with number” error on the second line of the code that loads the animations but I’m not exactly sure what is wrong with it, other devforum posts seem to all have very different problems so those didn’t help.
Code:
In a for loop, i is the amount of times it has looped. You would want to use Animations[i] instead, because it will give you the value you are looking for. Hope this helped