Animations dont play on skinned mesh

so baically, i made a skinned mesh in blender, inserted it to roblox studio, animated it then exported it,
put the

script that plays the animation
local char = script.Parent --the npc
local hum = char:WaitForChild("Humanoid") --the npc's humanoid
local animation = hum:LoadAnimation(script.Animation) --finds the animation inside the script and loads it in the npc's humanoid
if char ~= nil then --this just checks if the npc exists
    animation:Play() --plays the animation

but it doesnt play, it just stays like this : image
any solutions?