https://gyazo.com/f5828a086046e9aab31d16794e0d4ca2
basically i'm making a script to attack and load the animation, i would like to know the logic or what i should do so that the idle or walk or run are not stopped / canceled when attacking, here is a piece of my code.
mouse.Button1Down:connect(function()
if CanBite == true and CaughtPrey == false and Biting == false then
CanBite = false
bite:Play(0.2)
Biting = true
local stuff = char:GetChildren()
for i, v in pairs(stuff) do
if v.Name == "Head" then
v.Touched:connect(function(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if human and hit and hit.Transparency ~= 1 and Biting == true then
Biting = false
human:TakeDamage(Dmg1)
end
end)
end
end
wait(0.5)
Biting = false
wait(0.5)
CanBite = true
end
end)

2 comments
im assuming the animation isnt being played, did you make sure you loaded the animation correctly?
im sure thats not the script where the error is at, like MemezyDev said the animation might be not played properly