I tested your code and it works fine for me without any weird animation stuff
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local L1 = humanoid:LoadAnimation(script.Parent.Animation.L1)
local combo = 0
local Debounce = false
script.Parent.Activated:Connect(function()
--if PressedMouseButton == "LEFT" then
if combo == 0 and Debounce == false then
humanoid.AutoRotate = false
humanoid.WalkSpeed = 0
Debounce = true
L1:Play()
combo = combo + 1
--AttackVelocity(0.5, 10, 0) -- function from somewhere
L1.Stopped:Wait()
humanoid.AutoRotate = true
humanoid.WalkSpeed = 16
Debounce = false
end
--end
end)
This may be related to animation blending. Add a boolean attribute to workspace called RbxLegacyAnimationBlending and set the value to true. See if the issue still occurs and let me know.
It seems like your tool has idle animation as well. If it does, it maybe because your tool idle animation. If they are both set to action, your looped idle anim will override your attack animation. Try stopping idle anim than playing the active anim.