Lunge has to finish first before playing Slash even when clicked too fast.
local debounce = false
script.Parent.Equipped:Connect(function(mouse)
local wield = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Wield)
wield:Play()
script.Parent.Activated:Connect(function()
local wield = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(script.Wield)
local lunge = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(script.Lunge)
local lungePause = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(script.LungePause)
wield:Stop()
lunge:Play()
wait(lunge.Length)
lunge:Stop()
lungePause:Play()
end)
script.Parent.Deactivated:Connect(function()
local wield = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(script.Wield)
local lungePause = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(script.LungePause)
local slash = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(script.Slash)
lungePause:Stop()
slash:Play()
wait(slash.Length)
slash:Stop()
wield:Play()
end)
end)

1 comment
nvm the debounce