Debounce2 (Help)

I wrote a piece of code that is supposed to make a working sword, but the debounce that I added for the damage isn’t working. Please help me out.

30e509e731bc51b6a8f990cc52327098

Notice how you have the wait before what your actually doing in the script, so that will totally render the debounce useless, so put the “hit.Parent.Humanoid:TakeDamage(35)”
before the wait(1.25) and it should work just fine

I tried it, still not working.

Alright well I see another problem why do you have the touched event wrapped inside of the first debounce function…
@YellowBannana898 just use one debounce…

Oh yea! Your’e right! I should add the end before! I will try that and see if it works!

1 Like

Still not working… (30 Characters)

show me your edited script
30chars

https://gyazo.com/66912a80b6d05ff6d186b387edc9c890

1 Like

Hm im not totally sure why cant you just use one debounce for the whole script?

Way more confusing. (30 Characters)

How is it more confusing just use one debounce theres no need for two