So, after repeatedly trying to fix this problem on my own, I decided to ask you. Here's the thing: I tried to do a counter attack, like in "smash bros" for a fighting game. And it works, when I press the key, it do the animation , BUT, each time i take damage the counter attack loop.
debounce = true
if debounce == true and human.HealthChanged:Connect(function(health)
human.Health = human.MaxHealth
human:LoadAnimation(script.L):Play()
debounce = false
end)
then end
Any suggestion ? Thanks for reading, AKT_Arthas.

2 comments
Thanks dude you saved me !
No problem.