:LoadAnimation() returns a AnimationTrack that does not copy the children of the Animation, meaning Looped does not exist inside of the returned AnimationTrack object
instead, use the Looped value inside of the original Animation
local loadAnim = Humanoid:LoadAnimation(anim)
loadAnim.Looped = anim.Looped.Value