What do you want to achieve?
For the Table to be in all functions/scopes and not nil
What is the issue?
It says it’s nil in a function that runs after the Table is defined. In most functions, it says it’s a table but in a few it says it’s nil.
What solutions have you tried so far?
I tried adding a wait to it, but it didn’t change anything.
AnimationTracks[Character.Name] = {}
print(AnimationTracks[Character.Name]) --prints correctly
function Crouch(Character, Humanoid)
local Animator = Humanoid.Animator
local Animations = AnimationTracks[Character.Name] --returns nil
end
Ok so, The character name and the one in the Crouch Function are the exact same. It appears that it’s not getting it at all, because printing the length of the parent table returns 0.