I am replacing the default Animate script with a new one. I have new animations as well. The problem is that when I try to Load the animations, the LocalScript says attempt to call a nil value. This roughly what it looks like. Here is the script:
-- Loaded Animations
local Idle = LoadAnimation(script.IdleAnim)
local Running = LoadAnimation(script.RunningAnim)
-- Function to load animation
function LoadAnimation(animation)
return Animator:LoadAnimation(animation)
end
Just so you know, Animator is defined.
Any Ideas?

2 comments
Thanks :)
nuuuuuuuuuuuuuuuu you got here first