Npc not working with animations

Hello,

I am making a game which involves a large noob walking in a fenced off area.
I am using humanoid:MoveTo to random parts to move it, however I cannot seem to get animations that look normal.

They only work in the server and they dont scale properly.
On the client the NPC just moves without any animation

The script I am using to animate this is:

local hum = script.Parent:WaitForChild("Humanoid")
local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation"))
anim.Looped = true
anim:Play()

Inside the script I have a standard walk animation for roblox characters.

I do not know anything about animating and would appreciate someone who does to give me a solution.

Thanks