this is the line thats wrong ive search on google and it hasent worked im new to coding so if anyone could help me i would be greatfull.
local function getAnimation(char) local combo = char:GetAttribute("Combo")
local anims = combatAnims:GetChildren()
local currAnims = anims[combo]
return currAnims
end