local B=maid.humanoid:LoadAnimation(maid.instance.Animations.AttackIdleAnimation)B.Looped=true B.Priority=Enum.AnimationPriority.Action maid.attackIdleAnimation=B local c=maid.humanoid:LoadAnimation(maid.instance.Animations.AttackAnimation)c.Looped=false c.Priority=Enum.AnimationPriority.Action maid.attackAnimation=c
-- Load and configure the animations
local attackIdleAnimation = maid.humanoid:LoadAnimation(maid.instance.Animations.AttackIdleAnimation)
attackIdleAnimation.Looped = true
attackIdleAnimation.Priority = Enum.AnimationPriority.Action
maid.attackIdleAnimation = attackIdleAnimation

local attackAnimation = maid.humanoid:LoadAnimation(maid.instance.Animations.AttackAnimation)
attackAnimation.Looped = false
attackAnimation.Priority = Enum.AnimationPriority.Action
maid.attackAnimation = attackAnimation
