Animations won't play in a bone rigged character with Humanoid

So the title is self explanatory, when I put a humanoid inside my bone rigged character it just does not play the animation. Need help fixing that

Without Humanoid:

With Humanoid:

Script Im using to play the animation:

local anim = script.Animation
local animController = script.Parent.AnimationController

local LoadAnim = animController:LoadAnimation(anim)

LoadAnim:Play()

I also tried using an animator inside the humanoid, but it doesn’t seem to work.
Greetings.

ok i need to bump this or im never getting an answer :>